aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/src/qgpgmekeylistjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lang/qt/src/qgpgmekeylistjob.cpp')
-rw-r--r--lang/qt/src/qgpgmekeylistjob.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/lang/qt/src/qgpgmekeylistjob.cpp b/lang/qt/src/qgpgmekeylistjob.cpp
index 706d2575..e395359a 100644
--- a/lang/qt/src/qgpgmekeylistjob.cpp
+++ b/lang/qt/src/qgpgmekeylistjob.cpp
@@ -161,17 +161,5 @@ void QGpgMEKeyListJob::addMode(KeyListMode mode)
{
context()->addKeyListMode(mode);
}
-#if 0
-void QGpgMEKeyListJob::showErrorDialog(QWidget *parent, const QString &caption) const
-{
- if (!mResult.error() || mResult.error().isCanceled()) {
- return;
- }
- const QString msg = i18n("<qt><p>An error occurred while fetching "
- "the keys from the backend:</p>"
- "<p><b>%1</b></p></qt>",
- QString::fromLocal8Bit(mResult.error().asString()));
- KMessageBox::error(parent, msg, caption);
-}
-#endif
+
#include "qgpgmekeylistjob.moc"