aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/coreplugin/mainwindow.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2023-09-13 11:49:06 +0200
committerhjk <hjk@qt.io>2023-09-14 14:35:25 +0000
commite76ec76c0f66134a42761208ec69db42499c4584 (patch)
treeca0de7aa77af55c3f226b18e4ccf6cbfc1ff4faa /src/plugins/coreplugin/mainwindow.cpp
parent93273af6dc2ee18c5748bd267628ce3d6cff2d5f (diff)
Remove unused variable
Amends 7f908d737b0e017e65e917c65b19499f3093fa4c Change-Id: I5e28f850c6a4d836ba7c48bd117a91aab64f478c Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/coreplugin/mainwindow.cpp')
-rw-r--r--src/plugins/coreplugin/mainwindow.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/coreplugin/mainwindow.cpp b/src/plugins/coreplugin/mainwindow.cpp
index 0f4f303a75..a483bf470c 100644
--- a/src/plugins/coreplugin/mainwindow.cpp
+++ b/src/plugins/coreplugin/mainwindow.cpp
@@ -111,8 +111,6 @@ static const char windowStateKey[] = "WindowState";
static const char modeSelectorLayoutKey[] = "ModeSelectorLayout";
static const char menubarVisibleKey[] = "MenubarVisible";
-static const bool askBeforeExitDefault = false;
-
static bool hideToolsMenu()
{
return Core::ICore::settings()->value(Constants::SETTINGS_MENU_HIDE_TOOLS, false).toBool();