diff options
author | ewewukek <ewewukek@gmail.com> | 2024-03-29 20:14:37 +0300 |
---|---|---|
committer | ewewukek <ewewukek@gmail.com> | 2024-03-29 20:14:37 +0300 |
commit | 174611685e5c82e99ddcc490352552ee661cfd69 (patch) | |
tree | b8286f9d5e5fcdc3a0f449862bcad7facd23de92 /src/gui/windows/shortcutwindow.cpp | |
parent | 269c4a66ae940dee51ebf6625e9756f4de86f967 (diff) | |
download | ManaVerse-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.cpp | 5 |
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); |