[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

@@ -18,7 +18,7 @@ class SignVerifyMessageDialog : public QDialog
Q_OBJECT
public:
explicit SignVerifyMessageDialog(QWidget *parent = 0);
explicit SignVerifyMessageDialog(QWidget *parent);
~SignVerifyMessageDialog();
void setModel(WalletModel *model);