summaryrefslogtreecommitdiff
path: root/src/lootdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lootdialog.cpp')
-rw-r--r--src/lootdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lootdialog.cpp b/src/lootdialog.cpp
index 3673c5c6..9f7b16f0 100644
--- a/src/lootdialog.cpp
+++ b/src/lootdialog.cpp
@@ -114,7 +114,7 @@ void LootDialog::addOutput(const QString& s)
return;
}
- const auto lines = s.split(QRegExp("[\\r\\n]"), QString::SkipEmptyParts);
+ const auto lines = s.split(QRegularExpression("[\\r\\n]"), Qt::SkipEmptyParts);
for (auto&& line : lines) {
if (line.isEmpty()) {