diff -r 56cd8111b7f7 -r 41300fa6a67c src/gui/kernel/qclipboard_mac.cpp --- 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; }