Mercurial > hg > svgui
diff view/Pane.cpp @ 683:692a8b9804fe
Drop toStdString() and toLocal8Bit().data(), with debug header we can stream QStrings
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 14:11:04 +0000 |
parents | 1a0dfcbffaf1 |
children | 917039d333bb 97ea68f62c1f 25b3d5802e6e |
line wrap: on
line diff
--- a/view/Pane.cpp Tue Nov 26 14:06:40 2013 +0000 +++ b/view/Pane.cpp Tue Nov 26 14:11:04 2013 +0000 @@ -2257,7 +2257,7 @@ { QStringList formats(e->mimeData()->formats()); cerr << "dragEnterEvent: format: " - << formats.join(",").toStdString() + << formats.join(",") << ", possibleActions: " << e->possibleActions() << ", proposedAction: " << e->proposedAction() << endl; @@ -2276,7 +2276,7 @@ void Pane::dropEvent(QDropEvent *e) { - cerr << "dropEvent: text: \"" << e->mimeData()->text().toStdString() + cerr << "dropEvent: text: \"" << e->mimeData()->text() << "\"" << endl; if (e->mimeData()->hasFormat("text/uri-list") ||