GCC warnings.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2015-03-03 17:29:33 +02:00
parent f333831486
commit c466fc40b4
2 changed files with 4 additions and 1 deletions

View file

@ -44,7 +44,7 @@ class CheckableMessageBoxPrivate
{
public:
CheckableMessageBoxPrivate(QDialog *q)
: clickedButton(0)
: pixmapLabel(nullptr), messageLabel(nullptr), checkBox(nullptr), buttonBox(nullptr), clickedButton(nullptr)
{
QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
@ -100,6 +100,8 @@ public:
QCheckBox *checkBox;
QDialogButtonBox *buttonBox;
QAbstractButton *clickedButton;
private:
Q_DISABLE_COPY(CheckableMessageBoxPrivate)
};
CheckableMessageBox::CheckableMessageBox(QWidget *parent) :

View file

@ -120,6 +120,7 @@ private slots:
void slotClicked(QAbstractButton *b);
private:
Q_DISABLE_COPY(CheckableMessageBox)
CheckableMessageBoxPrivate *d;
};