Mercurial > projects > qtd
changeset 69:79d648fdee0f
small indentation correction
author | mandel |
---|---|
date | Wed, 20 May 2009 13:23:20 +0000 |
parents | d4991ce91532 |
children | f1d6b8f559e6 |
files | examples/draganddrop/dropsite/droparea.d examples/draganddrop/dropsite/dropsitewindow.d |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/examples/draganddrop/dropsite/droparea.d Wed May 20 07:31:01 2009 +0000 +++ b/examples/draganddrop/dropsite/droparea.d Wed May 20 13:23:20 2009 +0000 @@ -98,7 +98,7 @@ QMimeData mimeData = event.mimeData(); if (mimeData.hasImage()) { - setPixmap(new QPixmap(mimeData.imageData)); + setPixmap(new QPixmap(mimeData.imageData)); } else if (mimeData.hasHtml()) { setText(mimeData.html()); setTextFormat(Qt.RichText);
--- a/examples/draganddrop/dropsite/dropsitewindow.d Wed May 20 07:31:01 2009 +0000 +++ b/examples/draganddrop/dropsite/dropsitewindow.d Wed May 20 13:23:20 2009 +0000 @@ -108,7 +108,7 @@ if (!mimeData) return; - foreach (char[] format; mimeData.formats()) { + foreach (char[] format; mimeData.formats()) { QTableWidgetItem formatItem = new QTableWidgetItem(format); formatItem.setFlags(Qt.ItemIsEnabled); formatItem.setTextAlignment(Qt.AlignTop | Qt.AlignLeft);