summaryrefslogtreecommitdiff
path: root/src/modinfodialogconflicts.cpp
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2019-07-03 13:04:27 -0500
committerSilarn <jrim@rimpo.org>2019-07-03 13:04:27 -0500
commitaa9a1fc07fb612547c1d1c5074d669b2dd258af9 (patch)
tree3f381e3120349a97f3731d0a1620e78ae1583b5a /src/modinfodialogconflicts.cpp
parentefec72a85a351f53880bffdba2438f6802d4f9ab (diff)
Refactor obsolete methods
Diffstat (limited to 'src/modinfodialogconflicts.cpp')
-rw-r--r--src/modinfodialogconflicts.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/modinfodialogconflicts.cpp b/src/modinfodialogconflicts.cpp
index 511d48ad..6dd1fe4e 100644
--- a/src/modinfodialogconflicts.cpp
+++ b/src/modinfodialogconflicts.cpp
@@ -7,7 +7,6 @@
using namespace MOShared;
using namespace MOBase;
-namespace shell = MOBase::shell;
// if there are more than 50 selected items in the conflict tree, don't bother
// checking whether menu items apply to them, just show all of them
@@ -935,7 +934,7 @@ ConflictItem GeneralConflictsTab::createOverwriteItem(
auto origin = ToQString(ds.getOriginByID(alternatives.back().first).getName());
return ConflictItem(
- ToQString(altString), std::move(relativeName), QString::null, index,
+ ToQString(altString), std::move(relativeName), QString(), index,
std::move(fileName), true, std::move(origin), archive);
}
@@ -943,8 +942,8 @@ ConflictItem GeneralConflictsTab::createNoConflictItem(
FileEntry::Index index, bool archive, QString fileName, QString relativeName)
{
return ConflictItem(
- QString::null, std::move(relativeName), QString::null, index,
- std::move(fileName), false, QString::null, archive);
+ QString(), std::move(relativeName), QString(), index,
+ std::move(fileName), false, QString(), archive);
}
ConflictItem GeneralConflictsTab::createOverwrittenItem(
@@ -958,7 +957,7 @@ ConflictItem GeneralConflictsTab::createOverwrittenItem(
QString altOrigin = after;
return ConflictItem(
- QString::null, std::move(relativeName), std::move(after),
+ QString(), std::move(relativeName), std::move(after),
index, std::move(fileName), true, std::move(altOrigin), archive);
}