summaryrefslogtreecommitdiff
path: root/src/gui/windows/shortcutwindow.cpp
diff options
context:
space:
mode:
authorewewukek <ewewukek@gmail.com>2024-03-29 20:14:37 +0300
committerewewukek <ewewukek@gmail.com>2024-03-29 20:14:37 +0300
commit174611685e5c82e99ddcc490352552ee661cfd69 (patch)
treeb8286f9d5e5fcdc3a0f449862bcad7facd23de92 /src/gui/windows/shortcutwindow.cpp
parent269c4a66ae940dee51ebf6625e9756f4de86f967 (diff)
downloadManaVerse-quit_closes_windows.tar.gz
ManaVerse-quit_closes_windows.tar.bz2
ManaVerse-quit_closes_windows.tar.xz
ManaVerse-quit_closes_windows.zip
Quit button closes windowsquit_closes_windows
Diffstat (limited to 'src/gui/windows/shortcutwindow.cpp')
-rw-r--r--src/gui/windows/shortcutwindow.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/windows/shortcutwindow.cpp b/src/gui/windows/shortcutwindow.cpp
index d701cd927..9122220f4 100644
--- a/src/gui/windows/shortcutwindow.cpp
+++ b/src/gui/windows/shortcutwindow.cpp
@@ -74,8 +74,6 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title,
if (content != nullptr)
content->setSkin(this, mSkin);
- if (setupWindow != nullptr)
- setupWindow->registerWindowForReset(this);
setMinWidth(32);
setMinHeight(32);
@@ -132,9 +130,6 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title,
mDragOffsetX = 0;
mDragOffsetY = 0;
- if (setupWindow != nullptr)
- setupWindow->registerWindowForReset(this);
-
if ((width != 0) && (height != 0))
setDefaultSize(width, height, ImagePosition::LOWER_RIGHT, 0, 0);