must register variant for QList<QString> before using QSettings

This commit is contained in:
Axel Kohlmeyer
2024-08-27 21:19:09 -04:00
parent 99e5b06279
commit 932eaf864a
2 changed files with 5 additions and 5 deletions

View File

@ -76,11 +76,6 @@ LammpsGui::LammpsGui(QWidget *parent, const QString &filename) :
prefdialog(nullptr), lammpsstatus(nullptr), varwindow(nullptr), wizard(nullptr),
runner(nullptr), is_running(false), run_counter(0)
{
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
// register QList<QString> only needed for Qt5
qRegisterMetaTypeStreamOperators<QList<QString>>("QList<QString>");
#endif
docver = "";
ui->setupUi(this);
this->setCentralWidget(ui->textEdit);