Sync from quickmods

This commit is contained in:
Petr Mrázek
2014-09-06 18:16:56 +02:00
parent 36efcf8d3c
commit 20cb97a35a
57 changed files with 569 additions and 326 deletions

View File

@ -4,7 +4,7 @@
bool lastfirst(QModelIndexList &list, int &first, int &last)
{
if (!list.size())
if (list.isEmpty())
return false;
first = last = list[0].row();
for (auto item : list)
@ -37,4 +37,4 @@ void showWebsiteForMod(QWidget *parentDlg, Mod &m)
QObject::tr("The mod author didn't provide a website link for this mod."),
QMessageBox::Warning);
}
}
}