1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-23 20:47:45 +00:00

Hide unnecessary actions in the SDK launcher

This commit is contained in:
Joshua Goins 2025-03-24 22:18:58 -04:00
parent 975eb45d36
commit 5f7e050e25

View file

@ -3,6 +3,7 @@
#include "mainwindow.h"
#include <KActionCollection>
#include <KConfig>
#include <KConfigGroup>
#include <KLocalizedString>
@ -101,8 +102,12 @@ MainWindow::MainWindow()
setCentralWidget(centralWidget);
// setupGUI(StandardWindowOption::ToolBar | StandardWindowOption::Keys | StandardWindowOption::StatusBar | StandardWindowOption::Save);
createGUI();
setupGUI(Create);
// We don't provide help (yet)
actionCollection()->removeAction(actionCollection()->action(KStandardAction::name(KStandardAction::HelpContents)));
// This isn't KDE software
actionCollection()->removeAction(actionCollection()->action(KStandardAction::name(KStandardAction::AboutKDE)));
}
#include "moc_mainwindow.cpp"