Mercurial > projects > qtd
diff examples/draganddrop/dropsite/droparea.d @ 206:aeeaae4dd540
'Dropsite' fixes for d2.
author | SokoL_SD |
---|---|
date | Tue, 14 Jul 2009 09:13:27 +0000 |
parents | 79d648fdee0f |
children | 1f6923c8cba0 |
line wrap: on
line diff
--- a/examples/draganddrop/dropsite/droparea.d Mon Jul 13 23:35:23 2009 +0000 +++ b/examples/draganddrop/dropsite/droparea.d Tue Jul 14 09:13:27 2009 +0000 @@ -43,9 +43,6 @@ import qt.gui.QLabel; -import tango.io.Stdout; - - class DropArea : public QLabel { public: @@ -107,7 +104,7 @@ setTextFormat(Qt.PlainText); } else if (mimeData.hasUrls()) { QUrl[] urlList = mimeData.urls(); - char[] text; + string text; for (int i = 0; i < urlList.length && i < 32; ++i) { text ~= urlList[i].path() ~ "\n"; }