diff options
author | Rainer Keller <rainer.keller@nokia.com> | 2011-05-09 13:56:07 +0200 |
---|---|---|
committer | Rainer Keller <rainer.keller@nokia.com> | 2011-05-09 13:59:01 +0200 |
commit | 9fb1d058cc0ef090883b5b46b9e3f245990e0080 (patch) | |
tree | b8f1b15effd750b00dac7d554d11776a3d1eb1bc | |
parent | 0fd930f4300452d640f42a3d7c8d08a54f40f97b (diff) |
Fix direction of added buttons
-rw-r--r-- | library/remotecontrolwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/remotecontrolwidget.cpp b/library/remotecontrolwidget.cpp index 589fa28..99fc786 100644 --- a/library/remotecontrolwidget.cpp +++ b/library/remotecontrolwidget.cpp @@ -168,7 +168,7 @@ void RemoteControlWidget::addMenuOption(const QString &title, QWidget *target, P QToolButton *toolButton = new QToolButton(this); pageState->button = toolButton; - mButtonBox->addWidget(toolButton, count%4, count/4); + mButtonBox->addWidget(toolButton, count/4, count%4); toolButton->setText(title); toolButton->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Maximum); toolButton->setCheckable(true); |