QTfrontend/ui/widget/roomnameprompt.cpp
changeset 8622 2045bdf1b11b
parent 8456 cc76826f14c2
child 9080 9b42757d7e71
--- a/QTfrontend/ui/widget/roomnameprompt.cpp	Fri Mar 01 15:50:00 2013 -0500
+++ b/QTfrontend/ui/widget/roomnameprompt.cpp	Fri Mar 01 16:58:00 2013 -0500
@@ -62,8 +62,13 @@
     QPushButton * btnOkay = new QPushButton(tr("Create room"));
     connect(btnCancel, SIGNAL(clicked()), this, SLOT(reject()));
     connect(btnOkay, SIGNAL(clicked()), this, SLOT(accept()));
-    buttonLayout->addWidget(btnCancel);
-    buttonLayout->addWidget(btnOkay);
+#ifdef Q_WS_MAC
+        buttonLayout->addWidget(btnCancel);
+        buttonLayout->addWidget(btnOkay);
+#else
+        buttonLayout->addWidget(btnOkay);
+        buttonLayout->addWidget(btnCancel);
+#endif
     btnOkay->setDefault(true);
 
     setStyleSheet("QPushButton { padding: 5px; }");