[Qt] make most Windows appear centered on main GUI

- remove default value for parent variable in dialogs, which should appear
  centered over main GUI and pass appropriate value
- add some addition NULL pointer checks
This commit is contained in:
Philip Kaufmann
2013-11-14 19:47:45 +01:00
parent 6ad44f5693
commit 309f796b39
11 changed files with 31 additions and 26 deletions

View File

@@ -16,7 +16,7 @@ class OpenURIDialog : public QDialog
Q_OBJECT
public:
explicit OpenURIDialog(QWidget *parent = 0);
explicit OpenURIDialog(QWidget *parent);
~OpenURIDialog();
QString getURI();