[qet] qet/qet: [5947] Fix crash when launch qet with command line argument -v. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 5947
Author: blacksun
Date: 2019-06-26 17:35:49 +0200 (Wed, 26 Jun 2019)
Log Message:
-----------
Fix crash when launch qet with command line argument -v.
See bug : https://qelectrotech.org/bugtracker/view.php?id=170
Modified Paths:
--------------
trunk/sources/qetapp.cpp
Modified: trunk/sources/qetapp.cpp
===================================================================
--- trunk/sources/qetapp.cpp 2019-06-26 08:02:48 UTC (rev 5946)
+++ trunk/sources/qetapp.cpp 2019-06-26 15:35:49 UTC (rev 5947)
@@ -105,7 +105,9 @@
}
buildSystemTrayMenu();
- m_splash_screen -> hide();
+ if (m_splash_screen) {
+ m_splash_screen -> hide();
+ }
checkBackupFiles();
}