mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Disable Drag/Drop Ride on Windows QT 5
.. it crashes ! .. we need to wait for QT 5.3.1 when this bug is fixed: https://bugreports.qt-project.org/browse/QTBUG-37813
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user