Minor : don't display gui when qet is launched with specific argument

This commit is contained in:
joshua
2019-07-02 21:13:55 +02:00
parent e3d386af67
commit 863b337972

View File

@@ -76,6 +76,9 @@ QETApp::QETApp() :
{
m_qetapp = this;
parseArguments();
if (non_interactive_execution_) {
std::exit(EXIT_SUCCESS);
}
initConfiguration();
initLanguage();
QET::Icons::initIcons();
@@ -105,9 +108,10 @@ QETApp::QETApp() :
}
buildSystemTrayMenu();
if (m_splash_screen) {
m_splash_screen -> hide();
}
if (m_splash_screen) {
m_splash_screen -> hide();
}
checkBackupFiles();
}