RESOLVED FIXED 43050
[Qt] PasteboardQt.cpp compile error when defined Macro QT_NO_CLIPBOARD
https://bugs.webkit.org/show_bug.cgi?id=43050
Summary [Qt] PasteboardQt.cpp compile error when defined Macro QT_NO_CLIPBOARD
Ins
Reported 2010-07-27 08:07:51 PDT
When defined Macro QT_NO_CLIPBOARD in file : WebCore/platform/qt/PasteboardQt.cpp function Pasteboard::canSmartReplace would get a compile error Maybe below codes can resolve it: bool Pasteboard::canSmartReplace() { #ifndef QT_NO_CLIPBOARD if (QApplication::clipboard()->mimeData()->hasFormat((QLatin1String("application/vnd.qtwebkit.smartpaste")))) return true; #endif return false; }
Attachments
Benjamin Poulain
Comment 1 2011-01-30 08:24:15 PST
Please follow http://trac.webkit.org/wiki/QtWebKitBugs when reporing bugs here.
Benjamin Poulain
Comment 2 2011-02-05 15:04:21 PST
This code is guarded with #ifndef QT_NO_CLIPBOARD in trunk.
Note You need to log in before you can comment on or make changes to this bug.