diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2013-08-02 16:43:06 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-07 15:16:57 +0200 |
commit | ee74a4c8b0d8563f994004395fe2b45fcdfef04e (patch) | |
tree | 76fae5302712bd276b966802eaa75d4c6978f5f9 /src/winextras/qwintaskbarbutton.h | |
parent | 682f6d35dd6b8f9dea35e1b898138f9d37b6a1ac (diff) |
QWinTaskbarButton: minor tweaks
Make the constructor's parent argument optional, and do not
pass a pointer to a half constructed object to the private
implementation.
Change-Id: I48df98f8d55ec49fd8f155b14167038055712cfc
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Diffstat (limited to 'src/winextras/qwintaskbarbutton.h')
-rw-r--r-- | src/winextras/qwintaskbarbutton.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winextras/qwintaskbarbutton.h b/src/winextras/qwintaskbarbutton.h index 85efd3f..562e1f6 100644 --- a/src/winextras/qwintaskbarbutton.h +++ b/src/winextras/qwintaskbarbutton.h @@ -71,7 +71,7 @@ public: Q_ENUMS(ProgressState) - explicit QWinTaskbarButton(QObject *parent); + explicit QWinTaskbarButton(QObject *parent = 0); ~QWinTaskbarButton(); void setWindow(QWindow *window); |