-rw-r--r-- | library/qpemessagebox.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/library/qpemessagebox.cpp b/library/qpemessagebox.cpp index bf03d31..c38828a 100644 --- a/library/qpemessagebox.cpp +++ b/library/qpemessagebox.cpp | |||
@@ -23,7 +23,14 @@ | |||
23 | 23 | ||
24 | #include <qmessagebox.h> | 24 | #include <qmessagebox.h> |
25 | 25 | ||
26 | static void never_called_tr_function_um_libqpe_ts_etwas_unter_zu_jubeln() { | 26 | #ifdef Q_OS_MACX |
27 | #define ATTRIBUTE_UNUSED | ||
28 | #else | ||
29 | #define ATTRIBUTE_UNUSED __attribute__((unused)) | ||
30 | #endif | ||
31 | |||
32 | static void never_called_tr_function_um_libqpe_ts_etwas_unter_zu_jubeln() ATTRIBUTE_UNUSED; | ||
33 | static void never_called_tr_function_um_libqpe_ts_etwas_unter_zu_jubeln() { | ||
27 | (void)QMessageBox::tr("Yes"); | 34 | (void)QMessageBox::tr("Yes"); |
28 | (void)QMessageBox::tr("No"); | 35 | (void)QMessageBox::tr("No"); |
29 | } | 36 | } |