From c42eba00701f28b3cf720d90c73d1cfc6c3815da Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Sat, 7 Feb 2009 15:09:11 -0700 Subject: Adjusted the shortcut window initialization so that all new shortcut window instances don't overlap by default. After that, it'll defer to the user's saved window positions. Signed-off-by: Ira Rice --- src/gui/shortcutwindow.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/shortcutwindow.h') diff --git a/src/gui/shortcutwindow.h b/src/gui/shortcutwindow.h index 2711ced5..64592328 100644 --- a/src/gui/shortcutwindow.h +++ b/src/gui/shortcutwindow.h @@ -55,6 +55,8 @@ class ShortcutWindow : public Window ShortcutContainer *mItems; ScrollArea *mScrollArea; + + static int mInstances; }; extern ShortcutWindow *itemShortcutWindow; -- cgit v1.2.3-70-g09d2