From f0d411cfbbfd463819e5456ec8ab695e990b56e4 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Sat, 1 Mar 2014 13:38:12 +0100 Subject: [PATCH] Doc: fix warning: No documentation for 'QApplication::palette()' Hide the forwarder function from QDoc. Change-Id: I2ea5cce0e68a5803cd4a24cefbbd50fc6c5ffb94 Reviewed-by: Friedemann Kleint --- src/widgets/kernel/qapplication.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/kernel/qapplication.h b/src/widgets/kernel/qapplication.h index 9cd18d5cd9..e72fe29bdb 100644 --- a/src/widgets/kernel/qapplication.h +++ b/src/widgets/kernel/qapplication.h @@ -112,7 +112,7 @@ public: QT_DEPRECATED static inline void setGraphicsSystem(const QString &) {} #endif -#ifdef Q_NO_USING_KEYWORD +#if defined(Q_NO_USING_KEYWORD) && !defined(Q_QDOC) static QPalette palette() { return QGuiApplication::palette(); } #else using QGuiApplication::palette;