From aa9a1fc07fb612547c1d1c5074d669b2dd258af9 Mon Sep 17 00:00:00 2001 From: Silarn Date: Wed, 3 Jul 2019 13:04:27 -0500 Subject: Refactor obsolete methods --- src/modinfodialogconflicts.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/modinfodialogconflicts.cpp') 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); } -- cgit v1.3.1