From fc0e7683878ac10eb9a4675f61e6443a13ced946 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 21 Dec 2012 10:41:15 +0100 Subject: Implemented new shortcut key system. Fade in/out shortcut tooltips. Close pcpviewer on window close due to commit/nocommit/discard actions. --- client/widgets/altcombobox.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/widgets/altcombobox.cc') 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; -- cgit v1.2.3