An error occurred while fetching "
- "the keys from the backend:
"
- "%1
",
- QString::fromLocal8Bit(mResult.error().asString()));
- KMessageBox::error(parent, msg, caption);
-}
-#endif
+
#include "qgpgmekeylistjob.moc"
diff --git a/lang/qt/src/qgpgmelistallkeysjob.cpp b/lang/qt/src/qgpgmelistallkeysjob.cpp
index 48f8dc3d..1c498053 100644
--- a/lang/qt/src/qgpgmelistallkeysjob.cpp
+++ b/lang/qt/src/qgpgmelistallkeysjob.cpp
@@ -245,17 +245,4 @@ void QGpgMEListAllKeysJob::resultHook(const result_type &tuple)
mResult = std::get<0>(tuple);
}
-#if 0
-void QGpgMEListAllKeysJob::showErrorDialog(QWidget *parent, const QString &caption) const
-{
- if (!mResult.error() || mResult.error().isCanceled()) {
- return;
- }
- const QString msg = i18n("