Browse Source

Use takeFirst() instead of first() and pop_front()

pull/145/head
Duke 4 months ago
parent
commit
17c44521be
  1. 5
      src/mainwindow.cpp

5
src/mainwindow.cpp

@ -1138,9 +1138,8 @@ void MainWindow::doImport(QList<QString>* keys) {
return;
}
// Pop the first key
QString key = keys->first();
keys->pop_front();
// Get the first key
QString key = keys->takeFirst();
bool rescan = keys->isEmpty();
if (key.startsWith("SK") ||

Loading…
Cancel
Save