Fixed a small bug in flicker effect.
[jspeed] / src / unitselector.cpp
index 742a705..e4b0e16 100644 (file)
@@ -46,6 +46,7 @@ UnitSelector::UnitSelector(QWidget* parent): QDialog(parent)
     layout->addWidget(selector_, Qt::AlignLeft);
 
     ButtonBox* buttons = new ButtonBox;
+    buttons->setOrientation(Qt::Horizontal);
     connect(buttons->addButton(tr("Save"), QDialogButtonBox::AcceptRole), SIGNAL(clicked(bool)), this, SLOT(saveUnit()));
 
     layout->addWidget(buttons);