Launcher: Fix a typo breaking path re-ordering
This commit is contained in:
parent
a405d0508b
commit
de172de5b3
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue