projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hx8347 lcd driver: missing BV() in PMC enable setting (ouch!)
[bertos.git]
/
wizard
/
BWizard.py
diff --git
a/wizard/BWizard.py
b/wizard/BWizard.py
index cd81960efbca69c87b7a1ff5d451ffa1f5409fd8..b2bec3fff29c2e15cb92b154987a3bb395fed8f2 100644
(file)
--- a/
wizard/BWizard.py
+++ b/
wizard/BWizard.py
@@
-50,7
+50,8
@@
class BWizard(QWizard):
def __init__(self, page_list):
self._current = None
QWizard.__init__(self)
def __init__(self, page_list):
self._current = None
QWizard.__init__(self)
- geometry = QApplication.instance().settings.value("geometry", None)
+ # Hardcoded default position (to avoid (0,0) origin)
+ geometry = QApplication.instance().settings.value("geometry", QVariant(QRect(QPoint(200, 200), QSize(800, 600))))
if geometry:
geometry = geometry.toRect()
self.setGeometry(geometry)
if geometry:
geometry = geometry.toRect()
self.setGeometry(geometry)