1
0
Fork 0

Launcher: Fix a typo breaking path re-ordering

This commit is contained in:
James Turner 2020-03-10 10:28:56 +00:00
parent a405d0508b
commit de172de5b3
2 changed files with 2 additions and 2 deletions

View file

@ -167,7 +167,7 @@ void PathListModel::appendPath(QString path)
emit countChanged();
}
void PathListModel::sawpIndices(int indexA, int indexB)
void PathListModel::swapIndices(int indexA, int indexB)
{
if ((indexA < 0) || (indexA >= static_cast<int>(mPaths.size()))) {
qWarning() << Q_FUNC_INFO << "index invalid:" << indexA;

View file

@ -42,7 +42,7 @@ public slots:
void removePath(int index);
void appendPath(QString path);
void sawpIndices(int indexA, int indexB);
void swapIndices(int indexA, int indexB);
private:
struct PathEntry {