aboutsummaryrefslogtreecommitdiffstats
path: root/scudcloud-1.0
diff options
context:
space:
mode:
Diffstat (limited to 'scudcloud-1.0')
-rwxr-xr-xscudcloud-1.0/lib/scudcloud.py2
-rwxr-xr-xscudcloud-1.0/scudcloud2
2 files changed, 2 insertions, 2 deletions
diff --git a/scudcloud-1.0/lib/scudcloud.py b/scudcloud-1.0/lib/scudcloud.py
index 82755cc..af4fb0c 100755
--- a/scudcloud-1.0/lib/scudcloud.py
+++ b/scudcloud-1.0/lib/scudcloud.py
@@ -114,7 +114,7 @@ class ScudCloud(QtGui.QMainWindow):
if windowState is not None:
self.restoreState(windowState)
else:
- self.showMaximized()
+ self.setWindowState(QtCore.Qt.WindowMaximized)
def systray(self, show=None):
if show is None:
diff --git a/scudcloud-1.0/scudcloud b/scudcloud-1.0/scudcloud
index c1f6cc1..6b07c37 100755
--- a/scudcloud-1.0/scudcloud
+++ b/scudcloud-1.0/scudcloud
@@ -33,9 +33,9 @@ def main():
print("Configuration directory "+args.confdir+" could not be created! Exiting...")
raise SystemExit()
win = ScudCloud(settings_path=settings_path)
+ win.restore()
if win.minimized is None:
win.show()
- win.restore()
sys.exit(app.exec_())
def lock():