Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kleopatra
Commits
36c23344
Commit
36c23344
authored
Aug 03, 2022
by
Ingo Klöcker
Browse files
Remove unused c'tor
GnuPG-bug-id: 6101
parent
d7f9d806
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/dialogs/selftestdialog.cpp
View file @
36c23344
...
...
@@ -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
);
}
...
...
src/dialogs/selftestdialog.h
View file @
36c23344
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment