forked from quickshell/quickshell
core: fix build warnings
This commit is contained in:
parent
082c3c480f
commit
ff8e252944
3 changed files with 6 additions and 3 deletions
|
@ -325,5 +325,7 @@ int qs_main(int argc, char** argv) {
|
|||
auto root = RootWrapper(configFilePath);
|
||||
QGuiApplication::setQuitOnLastWindowClosed(false);
|
||||
|
||||
return QCoreApplication::exec();
|
||||
auto code = QCoreApplication::exec();
|
||||
delete app;
|
||||
return code;
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ public:
|
|||
virtual bool applies() { return true; }
|
||||
virtual void init() {}
|
||||
virtual void registerTypes() {}
|
||||
virtual void constructGeneration(EngineGeneration& generation) {} // NOLINT
|
||||
virtual void constructGeneration(EngineGeneration& /*unused*/) {} // NOLINT
|
||||
virtual void onReload() {}
|
||||
|
||||
static void registerPlugin(QuickshellPlugin& plugin);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue