From 653f1478ec403366aa557b2a2789335277df4287 Mon Sep 17 00:00:00 2001 From: "S. Razi Alavizadeh" Date: Sat, 29 Dec 2012 11:28:11 +0330 Subject: [PATCH] Fixed compile issue from recent commit: 02ea92ad28 --- src/lib/tools/globalfunctions.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/tools/globalfunctions.cpp b/src/lib/tools/globalfunctions.cpp index 90971ccbb..0ad0992c5 100644 --- a/src/lib/tools/globalfunctions.cpp +++ b/src/lib/tools/globalfunctions.cpp @@ -382,6 +382,7 @@ QString QT_QUPZILLA_EXPORT qz_escape(const QString &string) #endif } +#ifdef QZ_WS_X11 void QT_QUPZILLA_EXPORT* qz_X11Display(const QWidget* widget) { Q_UNUSED(widget) @@ -392,6 +393,7 @@ void QT_QUPZILLA_EXPORT* qz_X11Display(const QWidget* widget) return QX11Info::display(); #endif } +#endif QString qz_buildSystem() {