diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-10-02 01:33:30 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-10-02 01:33:30 +0200 |
commit | edfca7da66e0d3908138cc72e8bea771e041b35f (patch) | |
tree | 62e1cd595c8d578deb0bc846ada0f1cffc2ffb4c /application | |
parent | a1d501d3949e12f5af93481327e8f155f62f01f8 (diff) | |
download | MultiMC-edfca7da66e0d3908138cc72e8bea771e041b35f.tar MultiMC-edfca7da66e0d3908138cc72e8bea771e041b35f.tar.gz MultiMC-edfca7da66e0d3908138cc72e8bea771e041b35f.tar.lz MultiMC-edfca7da66e0d3908138cc72e8bea771e041b35f.tar.xz MultiMC-edfca7da66e0d3908138cc72e8bea771e041b35f.zip |
NOISSUE remove bogus duplicated toolbars
Diffstat (limited to 'application')
-rw-r--r-- | application/MainWindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp index 83a5a28a..92f5c00d 100644 --- a/application/MainWindow.cpp +++ b/application/MainWindow.cpp @@ -242,7 +242,7 @@ public: void createMainToolbar(QMainWindow *MainWindow) { - mainToolBar = new QToolBar(MainWindow); + mainToolBar = TranslatedToolbar(MainWindow); mainToolBar->setObjectName(QStringLiteral("mainToolBar")); mainToolBar->setMovable(false); mainToolBar->setAllowedAreas(Qt::TopToolBarArea); @@ -383,7 +383,7 @@ public: void createNewsToolbar(QMainWindow *MainWindow) { - newsToolBar = new QToolBar(MainWindow); + newsToolBar = TranslatedToolbar(MainWindow); newsToolBar->setObjectName(QStringLiteral("newsToolBar")); newsToolBar->setMovable(false); newsToolBar->setAllowedAreas(Qt::BottomToolBarArea); @@ -406,7 +406,7 @@ public: void createInstanceToolbar(QMainWindow *MainWindow) { - instanceToolBar = new QToolBar(MainWindow); + instanceToolBar = TranslatedToolbar(MainWindow); instanceToolBar->setObjectName(QStringLiteral("instanceToolBar")); // disabled until we have an instance selected instanceToolBar->setEnabled(false); |