aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Sander Kleijwegt <sander.kleywegt@netscout.com>2015-08-25 10:56:07 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-26 11:01:37 -0700
commit57e15bf789ef08a494eb267e7e2b8939aeec8638 (patch)
tree457413c35f9e6d8125a03bf87d34c0eae3577c95 /qt-ui/mainwindow.cpp
parent13a190464d4eaff4a2a0ce7a172fb85e6bb915e6 (diff)
downloadsubsurface-57e15bf789ef08a494eb267e7e2b8939aeec8638.tar.gz
Explicitly show the menubar after mainwindow initialisation.
At least on Ubuntu with xfce instead of Unity this appears to be necessary to get a menu bar for the application. Fixes #833 Signed-off-by: Sander Kleijwegt <sander@myowndomain.nl> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 1070c3018..945204e26 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -222,6 +222,9 @@ MainWindow::MainWindow() : QMainWindow(),
#ifndef NO_PRINTING
find_all_templates();
#endif
+
+ ui.menubar->show();
+
}
MainWindow::~MainWindow()