From b166958b868c551fe0b4e4ac33e6e34ddf2f7ee1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Wed, 20 Dec 2023 17:33:23 +0100 Subject: qt: Remove dead code * lang/qt/src/qgpgmeencryptjob.cpp, lang/qt/src/qgpgmesignencryptjob.cpp, lang/qt/src/qgpgmesignjob.cpp: Remove long commented out showErrorDialog member function definitions. -- Displaying error messages is delegated to the job users since ages. --- lang/qt/src/qgpgmeencryptjob.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lang/qt/src/qgpgmeencryptjob.cpp') diff --git a/lang/qt/src/qgpgmeencryptjob.cpp b/lang/qt/src/qgpgmeencryptjob.cpp index cfb8d4ac..c11089ff 100644 --- a/lang/qt/src/qgpgmeencryptjob.cpp +++ b/lang/qt/src/qgpgmeencryptjob.cpp @@ -213,12 +213,4 @@ void QGpgMEEncryptJob::resultHook(const result_type &tuple) mResult = std::get<0>(tuple); } -#if 0 -void QGpgMEEncryptJob::showErrorDialog(QWidget *parent, const QString &caption) const -{ - if (mResult.error() && !mResult.error().isCanceled()) { - MessageBox::error(parent, mResult, this, caption); - } -} -#endif #include "qgpgmeencryptjob.moc" -- cgit v1.2.3