Commit 07d2ba4b authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Initialize all members in-class

GnuPG-bug-id: 6057
parent 7be4f02b
......@@ -54,8 +54,7 @@ using namespace Kleo;
using namespace Kleo::Config;
CryptoOperationsConfigWidget::CryptoOperationsConfigWidget(QWidget *p, Qt::WindowFlags f)
: QWidget(p, f),
mApplyBtn(nullptr)
: QWidget{p, f}
{
setupGui();
}
......
......@@ -54,16 +54,16 @@ private:
const Kleo::Settings &settings);
private:
QCheckBox *mQuickEncryptCB,
*mQuickSignCB,
*mPGPFileExtCB,
*mAutoDecryptVerifyCB,
*mASCIIArmorCB,
*mTmpDirCB,
*mSymmetricOnlyCB;
QCheckBox *mQuickEncryptCB = nullptr;
QCheckBox *mQuickSignCB = nullptr;
QCheckBox *mPGPFileExtCB = nullptr;
QCheckBox *mAutoDecryptVerifyCB = nullptr;
QCheckBox *mASCIIArmorCB = nullptr;
QCheckBox *mTmpDirCB = nullptr;
QCheckBox *mSymmetricOnlyCB = nullptr;
Kleo::LabelledWidget<QComboBox> mChecksumDefinitionCB;
Kleo::LabelledWidget<QComboBox> mArchiveDefinitionCB;
QPushButton *mApplyBtn;
QPushButton *mApplyBtn = nullptr;
};
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment