src/gui/kernel/qclipboard_mac.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
child 7 f7bc934e204c
--- a/src/gui/kernel/qclipboard_mac.cpp	Tue Jan 26 12:42:25 2010 +0200
+++ b/src/gui/kernel/qclipboard_mac.cpp	Tue Feb 02 00:43:10 2010 +0200
@@ -532,7 +532,7 @@
                 // Try to get the NSStringPboardType from NSPasteboard, newlines are mapped
                 // correctly (as '\n') in this data. The 'public.utf16-plain-text' type
                 // usually maps newlines to '\r' instead.
-                QString str = qt_mac_get_pasteboardString();
+                QString str = qt_mac_get_pasteboardString(paste);
                 if (!str.isEmpty())
                     return str;
             }