ui/qt/window.cpp

changeset 535
ede57f5b6178
parent 520
ea1bba55de44
--- a/ui/qt/window.cpp	Sun Mar 30 11:28:24 2025 +0200
+++ b/ui/qt/window.cpp	Sun Mar 30 12:00:26 2025 +0200
@@ -49,12 +49,11 @@
     window->setWindowTitle(title);
     obj->widget = window;
     
-    /*
     if(!simple) {
-        QToolBar *toolbar = ui_create_toolbar(obj);
-        window->addToolBar(Qt::TopToolBarArea, toolbar);
+        ui_add_menus(obj, window);
+        //QToolBar *toolbar = ui_create_toolbar(obj);
+        //window->addToolBar(Qt::TopToolBarArea, toolbar);
     }
-    */
     
     QBoxLayout *box = new QVBoxLayout();
     QWidget *boxWidget = new QWidget();

mercurial