diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-05 23:03:27 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-05 23:03:27 +0200 |
commit | 49eb5513a6b4ae8476f04b4c7c60c45715cf0e62 (patch) | |
tree | c7bf273176be3048a177b0f53dc98c3c310d7f1b /src/gui/shortcutwindow.cpp | |
parent | 4a41e7d16a6bbe0f8872030a71bc81be5dab3e54 (diff) | |
download | mana-49eb5513a6b4ae8476f04b4c7c60c45715cf0e62.tar.gz mana-49eb5513a6b4ae8476f04b4c7c60c45715cf0e62.tar.bz2 mana-49eb5513a6b4ae8476f04b4c7c60c45715cf0e62.tar.xz mana-49eb5513a6b4ae8476f04b4c7c60c45715cf0e62.zip |
Don't short the shortcut windows by default
The item shortcut window is easily accessible for those who want it, but
it's a bit of a power feature so it shouldn't be shown by default.
Diffstat (limited to 'src/gui/shortcutwindow.cpp')
-rw-r--r-- | src/gui/shortcutwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/shortcutwindow.cpp b/src/gui/shortcutwindow.cpp index 2025d332..b9eda02c 100644 --- a/src/gui/shortcutwindow.cpp +++ b/src/gui/shortcutwindow.cpp @@ -33,14 +33,14 @@ static const int SCROLL_PADDING = 0; int ShortcutWindow::mInstances = 0; ShortcutWindow::ShortcutWindow(const std::string &title, - ShortcutContainer *content, bool defaultVisible) + ShortcutContainer *content) { setWindowName(title); // no title presented, title bar is padding so window can be moved. gcn::Window::setTitleBarHeight(gcn::Window::getPadding()); setShowTitle(false); setResizable(true); - setDefaultVisible(defaultVisible); + setDefaultVisible(false); setSaveVisible(true); mItems = content; |