summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrius ┼átikonas <[email protected]>2017-04-24 20:59:40 +0100
committerAndrius ┼átikonas <[email protected]>2017-04-24 20:59:40 +0100
commitc1b27ee051d97d8a050b9b9915cf6a4d90460254 (patch)
treed5a754c8dba92b6122551cc21844609808791a3b
parenta1afecdd80fb867647b7535062a597e2db3c5ab3 (diff)
Fix singmaster widget location.
-rw-r--r--src/kubrick.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kubrick.cpp b/src/kubrick.cpp
index 664d001..3741bdb 100644
--- a/src/kubrick.cpp
+++ b/src/kubrick.cpp
@@ -309,13 +309,13 @@ void Kubrick::initGUI()
singmasterLabel = new QLabel (i18n("Singmaster Moves"), this);
singmasterMoves = new QLineEdit (this);
- QAction * w = new QAction (this);
+ QWidgetAction *w = new QWidgetAction(this);
actionCollection()->addAction ( QLatin1String( "singmaster_label" ), w);
- //QT5 w->setDefaultWidget (singmasterLabel);
+ w->setDefaultWidget (singmasterLabel);
- w = new QAction (this);
+ w = new QWidgetAction (this);
actionCollection()->addAction ( QLatin1String( "singmaster_moves" ), w);
- //QT5 w->setDefaultWidget (singmasterMoves);
+ w->setDefaultWidget (singmasterMoves);
QString singmasterToolTip = i18n("This area shows Singmaster moves.");
QString singmasterWhatsThis = i18nc("The letters RLFBUD are mathematical "