From 433bb8e84b2d1e50b5c5b9f7f2006b60cd7d7785 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Mon, 22 Feb 2016 19:07:41 +0100 Subject: Remove feature check ifdefs * lang/cpp/src/assuanresult.cpp, lang/cpp/src/callbacks.cpp, lang/cpp/src/configuration.cpp, lang/cpp/src/context.cpp, lang/cpp/src/context_glib.cpp, lang/cpp/src/context_qt.cpp, lang/cpp/src/context_vanilla.cpp, lang/cpp/src/data.cpp, lang/cpp/src/decryptionresult.cpp, lang/cpp/src/defaultassuantransaction.cpp, lang/cpp/src/editinteractor.cpp, lang/cpp/src/encryptionresult.cpp, lang/cpp/src/engineinfo.cpp, lang/cpp/src/eventloopinteractor.cpp, lang/cpp/src/global.h, lang/cpp/src/gpgagentgetinfoassuantransaction.cpp, lang/cpp/src/importresult.cpp, lang/cpp/src/interfaces/assuantransaction.h, lang/cpp/src/key.cpp, lang/cpp/src/keygenerationresult.cpp, lang/cpp/src/keylistresult.cpp, lang/cpp/src/scdgetinfoassuantransaction.cpp, lang/cpp/src/signingresult.cpp, lang/cpp/src/trustitem.cpp, lang/cpp/src/util.h, lang/cpp/src/verificationresult.cpp, lang/cpp/src/vfsmountresult.cpp: Remove feature checks. --- lang/cpp/src/context_qt.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lang/cpp/src/context_qt.cpp') diff --git a/lang/cpp/src/context_qt.cpp b/lang/cpp/src/context_qt.cpp index e6d44fa1..2ce0005d 100644 --- a/lang/cpp/src/context_qt.cpp +++ b/lang/cpp/src/context_qt.cpp @@ -20,13 +20,9 @@ Boston, MA 02110-1301, USA. */ -#include - #include -#ifdef HAVE_GPGME_GET_FDPTR extern "C" QIODevice *gpgme_get_fdptr(int); -#endif GIOChannel *GpgME::getGIOChannel(int) { @@ -35,10 +31,5 @@ GIOChannel *GpgME::getGIOChannel(int) QIODevice *GpgME::getQIODevice(int fd) { -#ifdef HAVE_GPGME_GET_FDPTR return gpgme_get_fdptr(fd); -#else - (void)fd; - return 0; -#endif } -- cgit v1.2.3