mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Minor : don't display gui when qet is launched with specific argument
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user