Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
None
Description
qtbase/src/plugins/platforms/cocoa/qmacclipboard.mm contains the following comment, presumably to indicate something that needs fixing for Qt 5.0.0:
qmacclipboard.mm
#if 0 //### Grrr, why didn't I put in a virtual int QMacPasteboardMime::count()? --Sam const int numItems = c->convertFromMime(mimeType, mimeData, flavor).size(); #else int numItems = 1; //this is a hack but it is much faster than allowing conversion above if (c->convertorName() == QLatin1String("FileURL")) numItems = mime_src->urls().count(); #endif
If this is not going to be fixed before Qt 5.0.0 is released (and thus not for 5.x at all, due to binary-compatibility promises), this code should be either cleaned up or marked as a Qt 6 to-do.
Attachments
Issue Links
- resulted from
-
QTBUG-23524 [API] Grep the source for Qt5 todo items
- Closed