diff options
author | Morten Johan Sørvig <morten.sorvig@nokia.com> | 2011-02-25 09:28:36 +0100 |
---|---|---|
committer | Morten Sorvig <msorvig@trolltech.com> | 2011-03-16 10:22:42 +0100 |
commit | 451d1c58913404e27b63395996a2e4b9aab65b95 (patch) | |
tree | c76d3cd1f209654317ac22c144fd310164f2586d /src/gui/kernel/qplatformintegration_qpa.cpp | |
parent | 2eddefa0d26e32e1f8e2dd93998ff14ff9c912d2 (diff) |
Lighthouse: Support Q_NO_CLIPBOARD.
Reviewed-by: Jørgen Lind
Diffstat (limited to 'src/gui/kernel/qplatformintegration_qpa.cpp')
-rw-r--r-- | src/gui/kernel/qplatformintegration_qpa.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformintegration_qpa.cpp b/src/gui/kernel/qplatformintegration_qpa.cpp index f43e141a16..06ac40fd1e 100644 --- a/src/gui/kernel/qplatformintegration_qpa.cpp +++ b/src/gui/kernel/qplatformintegration_qpa.cpp @@ -102,6 +102,9 @@ QPlatformFontDatabase *QPlatformIntegration::fontDatabase() const \sa QPlatformClipboard */ + +#ifndef QT_NO_CLIPBOARD + QPlatformClipboard *QPlatformIntegration::clipboard() const { static QPlatformClipboard *clipboard = 0; @@ -111,6 +114,8 @@ QPlatformClipboard *QPlatformIntegration::clipboard() const return clipboard; } +#endif + QPlatformNativeInterface * QPlatformIntegration::nativeInterface() const { return 0; |