Fix some compiler warnings

Change-Id: I1ac0cbba1b47c429a752c545b1475c8d7d23c5dd
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2021-12-15 16:47:10 +01:00
parent 5978960482
commit 03499bd619
3 changed files with 3 additions and 9 deletions

View File

@@ -102,14 +102,6 @@ namespace Internal {
enum { debugMainWindow = 0 };
static bool isQtDesignStudio()
{
QSettings *settings = Core::ICore::settings();
const QString qdsStandaloneEntry = "QML/Designer/StandAloneMode"; //entry from qml settings
return settings->value(qdsStandaloneEntry, false).toBool();
}
MainWindow::MainWindow()
: AppMainWindow()
, m_coreImpl(new ICore(this))