mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 01:58:41 -05:00
Test geometry setting to avoid a TypeError
This commit is contained in:
parent
c38cf92f25
commit
02a92463e5
1 changed files with 2 additions and 1 deletions
|
|
@ -42,7 +42,8 @@ class StartQT5(QMainWindow):
|
||||||
QCoreApplication.setOrganizationDomain("trimage.org")
|
QCoreApplication.setOrganizationDomain("trimage.org")
|
||||||
QCoreApplication.setApplicationName("Trimage")
|
QCoreApplication.setApplicationName("Trimage")
|
||||||
self.settings = QSettings()
|
self.settings = QSettings()
|
||||||
self.restoreGeometry(self.settings.value("geometry"))
|
if self.settings.value("geometry"):
|
||||||
|
self.restoreGeometry(self.settings.value("geometry"))
|
||||||
|
|
||||||
# check if apps are installed
|
# check if apps are installed
|
||||||
if self.checkapps():
|
if self.checkapps():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue