Unverified Commit 13b8d0be authored by Andre Heinecke's avatar Andre Heinecke
Browse files

Make setShowsOutputWindow public for GnuPG CMD

This makes it easier to control from the outside when
an output window should be shown for a gnupg process command.
parent fc745928
......@@ -31,6 +31,7 @@ protected:
QDialog *dialog() const;
void setShowsOutputWindow(bool show);
virtual bool preStartHook(QWidget *parentWidget) const;
......@@ -50,7 +51,6 @@ protected:
QString errorString() const;
void setIgnoresSuccessOrFailure(bool ignore);
bool ignoresSuccessOrFailure() const;
void setShowsOutputWindow(bool show);
bool showsOutputWindow() const;
QProcess *process();
......@@ -91,6 +91,10 @@ void LearnCardKeysCommand::doStart()
if (!showsOutputWindow()) {
const auto dlg = new QProgressDialog(i18n("Loading certificates... (this can take a while)"),
i18n("Show Details"), 0, 0, d->parentWidgetOrView());
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