diff --git a/src/RideNavigator.cpp b/src/RideNavigator.cpp index fe01f0ff6..cfb77ef21 100644 --- a/src/RideNavigator.cpp +++ b/src/RideNavigator.cpp @@ -1212,10 +1212,14 @@ RideNavigator::showTreeContextMenuPopup(const QPoint &pos) RideTreeView::RideTreeView() { +#if (defined WIN32) && (QT_VERSION > 0x050000) + // don't allow ride drop on Windows with QT5 +#else setDragDropMode(QAbstractItemView::InternalMove); setDragEnabled(true); setDragDropOverwriteMode(false); setDropIndicatorShown(true); +#endif #ifdef Q_OS_MAC setAttribute(Qt::WA_MacShowFocusRect, 0); #endif