mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +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;
|
m_qetapp = this;
|
||||||
parseArguments();
|
parseArguments();
|
||||||
|
if (non_interactive_execution_) {
|
||||||
|
std::exit(EXIT_SUCCESS);
|
||||||
|
}
|
||||||
initConfiguration();
|
initConfiguration();
|
||||||
initLanguage();
|
initLanguage();
|
||||||
QET::Icons::initIcons();
|
QET::Icons::initIcons();
|
||||||
@@ -108,6 +111,7 @@ QETApp::QETApp() :
|
|||||||
if (m_splash_screen) {
|
if (m_splash_screen) {
|
||||||
m_splash_screen -> hide();
|
m_splash_screen -> hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
checkBackupFiles();
|
checkBackupFiles();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user