summaryrefslogtreecommitdiff
path: root/client/widgets/altcombobox.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-12-21 10:41:15 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2012-12-21 10:41:15 +0100
commitfc0e7683878ac10eb9a4675f61e6443a13ced946 (patch)
tree317a57f0b1f7a1654d39c6bed4378c46934777cb /client/widgets/altcombobox.cc
parent01ea1cb9ca4547c406ce0ed72b3f5f6ce18d91d9 (diff)
Implemented new shortcut key system. Fade in/out shortcut tooltips. Close pcpviewer on window close due to commit/nocommit/discard actions.
Diffstat (limited to 'client/widgets/altcombobox.cc')
-rw-r--r--client/widgets/altcombobox.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/widgets/altcombobox.cc b/client/widgets/altcombobox.cc
index 082601a..37df5bf 100644
--- a/client/widgets/altcombobox.cc
+++ b/client/widgets/altcombobox.cc
@@ -42,9 +42,9 @@
AltComboBox::AltComboBox(QDomNode &node, MacroWindow *macrowindow)
: ComboBox(node, macrowindow)
{
- combobox = (QComboBox*)widget;
+ combobox = (QComboBox*)getWidget();
frame = new QFrame();
- widget = frame;
+ setWidget(frame);
hideChildren = true;