From 0de707a4fddfbf2b9ee85d277596d33faa327ff2 Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Fri, 28 Aug 2009 23:25:22 +0100
Subject: Show menus on non-macs


diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp
index 367dc2c..210d927 100644
--- a/Swift/QtUI/QtLoginWindow.cpp
+++ b/Swift/QtUI/QtLoginWindow.cpp
@@ -83,7 +83,11 @@ QtLoginWindow::QtLoginWindow(const String& defaultJID, const String& defaultPass
 	layout->addWidget(remember_);
 	connect(loginButton_, SIGNAL(clicked()), SLOT(loginClicked()));
 	stack_->addWidget(wrapperWidget);
+#ifdef SWIFTEN_PLATFORM_MACOSX
 	menuBar_ = new QMenuBar(NULL);
+#else
+	menuBar_ = menuBar();
+#endif
 	QApplication::setQuitOnLastWindowClosed(false);
 	
 	swiftMenu_ = new QMenu(tr("Swift"), this);
-- 
cgit v0.10.2-6-g49f6