aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/src
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2016-10-05 14:44:53 +0000
committerAndre Heinecke <[email protected]>2016-10-05 14:44:53 +0000
commit9d1df990386010e0581b542a76a4f5d85d8d11b5 (patch)
tree7e45d021af60c204586fe84131763526df7668e5 /lang/qt/src
parentcpp: Add support for URL Data encodings (diff)
downloadgpgme-9d1df990386010e0581b542a76a4f5d85d8d11b5.tar.gz
gpgme-9d1df990386010e0581b542a76a4f5d85d8d11b5.zip
qt: Fix unused variable warnings
* qt/src/qgpgmenewcryptoconfig.cpp, qt/src/threadedjobmixin.h, qt/tests/t-encrypt.cpp, qt/tests/t-support.h, qt/tests/t-wkspublish.cpp: Mark additional variables as unused.
Diffstat (limited to 'lang/qt/src')
-rw-r--r--lang/qt/src/qgpgmenewcryptoconfig.cpp2
-rw-r--r--lang/qt/src/threadedjobmixin.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/lang/qt/src/qgpgmenewcryptoconfig.cpp b/lang/qt/src/qgpgmenewcryptoconfig.cpp
index 62566d5f..eb3af56f 100644
--- a/lang/qt/src/qgpgmenewcryptoconfig.cpp
+++ b/lang/qt/src/qgpgmenewcryptoconfig.cpp
@@ -84,7 +84,7 @@ QGpgMENewCryptoConfig::~QGpgMENewCryptoConfig()
clear();
}
-void QGpgMENewCryptoConfig::reloadConfiguration(bool showErrors)
+void QGpgMENewCryptoConfig::reloadConfiguration(bool)
{
clear();
diff --git a/lang/qt/src/threadedjobmixin.h b/lang/qt/src/threadedjobmixin.h
index 62d7f1c1..d1b10432 100644
--- a/lang/qt/src/threadedjobmixin.h
+++ b/lang/qt/src/threadedjobmixin.h
@@ -223,7 +223,8 @@ protected:
{
return m_auditLogError;
}
- void showProgress(const char *what, int type, int current, int total) Q_DECL_OVERRIDE {
+ void showProgress(const char * /*what*/,
+ int /*type*/, int current, int total) Q_DECL_OVERRIDE {
// will be called from the thread exec'ing the operation, so
// just bounce everything to the owning thread:
// ### hope this is thread-safe (meta obj is const, and