Commit 66867f94 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Port QLinkedList which is deprecated in Qt 5.15

parent 45c04c11
......@@ -26,12 +26,12 @@
#include <QDialog>
#include <QDialogButtonBox>
#include <QFileDialog>
#include <QLinkedList>
#include <QProcess>
#include <QPushButton>
#include <QRegularExpression>
#include <QUrl>
#include <QVBoxLayout>
#include <QVector>
// KDE includes
#include <KConfigGroup>
......@@ -204,7 +204,7 @@ void KOpenBabel::slotConvert()
}
QListIterator<QListWidgetItem*> it(p);
QStringList cmdList; // Full command
QLinkedList<QStringList> cmdArgList; // Arguments only
QVector<QStringList> cmdArgList; // Arguments only
foreach (QListWidgetItem * item, p) {
QString ifname = QUrl(item->text()).toLocalFile();
QString ofname = ifname;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment