core: fix build warnings
This commit is contained in:
parent
082c3c480f
commit
d98dc71c1d
3 changed files with 5 additions and 2 deletions
|
@ -33,6 +33,7 @@ if (NOT DEFINED GIT_REVISION)
|
||||||
COMMAND git rev-parse HEAD
|
COMMAND git rev-parse HEAD
|
||||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||||
OUTPUT_VARIABLE GIT_REVISION
|
OUTPUT_VARIABLE GIT_REVISION
|
||||||
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -325,5 +325,7 @@ int qs_main(int argc, char** argv) {
|
||||||
auto root = RootWrapper(configFilePath);
|
auto root = RootWrapper(configFilePath);
|
||||||
QGuiApplication::setQuitOnLastWindowClosed(false);
|
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 bool applies() { return true; }
|
||||||
virtual void init() {}
|
virtual void init() {}
|
||||||
virtual void registerTypes() {}
|
virtual void registerTypes() {}
|
||||||
virtual void constructGeneration(EngineGeneration& generation) {} // NOLINT
|
virtual void constructGeneration(EngineGeneration& /*unused*/) {} // NOLINT
|
||||||
virtual void onReload() {}
|
virtual void onReload() {}
|
||||||
|
|
||||||
static void registerPlugin(QuickshellPlugin& plugin);
|
static void registerPlugin(QuickshellPlugin& plugin);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue