Commit 36c23344 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Remove unused c'tor

GnuPG-bug-id: 6101
parent d7f9d806
......@@ -440,17 +440,11 @@ private:
};
SelfTestDialog::SelfTestDialog(QWidget *p, Qt::WindowFlags f)
: SelfTestDialog{{}, p, f}
{
}
SelfTestDialog::SelfTestDialog(const std::vector<std::shared_ptr<SelfTest>> &tests, QWidget *p, Qt::WindowFlags f)
: QDialog(p, f), d(new Private(this))
{
setWindowTitle(i18nc("@title:window", "Self Test"));
resize(448, 610);
addSelfTests(tests);
setAutomaticMode(false);
}
......
......@@ -30,7 +30,6 @@ class SelfTestDialog : public QDialog
Q_PROPERTY(bool runAtStartUp READ runAtStartUp WRITE setRunAtStartUp)
public:
explicit SelfTestDialog(QWidget *parent = nullptr, Qt::WindowFlags f = {});
explicit SelfTestDialog(const std::vector<std::shared_ptr<SelfTest>> &tests, QWidget *parent = nullptr, Qt::WindowFlags f = {});
~SelfTestDialog() override;
void setAutomaticMode(bool automatic);
......
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