Make code compliant with Qt6.

This commit is contained in:
Uwe Risse
2023-10-29 13:39:05 +01:00
parent 3fcb8d3deb
commit ce7a1c26fc
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -1092,8 +1092,9 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
QFile::copy(dataPath.absolutePath() + "/" + "libhamlib-4.dll", dataPath.absolutePath() + "/" + "libhamlib-4_old.dll");
QTimer::singleShot (5000, [=] { //wait until hamlib has been started
extern char* hamlib_version2;
QString hamlib = QString(QLatin1String(hamlib_version2));
m_settings->beginGroup("Configuration");
m_settings->setValue ("HamlibBackedUp", hamlib_version2);
m_settings->setValue ("HamlibBackedUp", hamlib);
m_settings->endGroup();
});
}