diff options
author | Jeremy Katz <jeremy.katz@nokia.com> | 2010-07-06 14:59:13 (GMT) |
---|---|---|
committer | Jeremy Katz <jeremy.katz@nokia.com> | 2010-07-06 14:59:13 (GMT) |
commit | e3e288fea0616126148a73a03e6fcf638a9d35bf (patch) | |
tree | 8eb0889f80ef30f458c43221f7455962e90f4080 | |
parent | 32d6c5adb9d75ad7e3b2cef818f6b17d77d0f929 (diff) | |
download | Qt-e3e288fea0616126148a73a03e6fcf638a9d35bf.zip Qt-e3e288fea0616126148a73a03e6fcf638a9d35bf.tar.gz Qt-e3e288fea0616126148a73a03e6fcf638a9d35bf.tar.bz2 |
fix qtconfig builds with drag and drop disabled
Reviewed By: Christian
-rw-r--r-- | src/gui/itemviews/qabstractitemview_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/itemviews/qabstractitemview_p.h b/src/gui/itemviews/qabstractitemview_p.h index ee79ee9..969553a 100644 --- a/src/gui/itemviews/qabstractitemview_p.h +++ b/src/gui/itemviews/qabstractitemview_p.h @@ -135,8 +135,9 @@ public: } void stopAutoScroll() { autoScrollTimer.stop(); autoScrollCount = 0;} - +#ifndef QT_NO_DRAGANDDROP virtual bool dropOn(QDropEvent *event, int *row, int *col, QModelIndex *index); +#endif bool droppingOnItself(QDropEvent *event, const QModelIndex &index); QWidget *editor(const QModelIndex &index, const QStyleOptionViewItem &options); |