--- 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; }");