Drop Qt 5 support
Qt 6 has been available for almost 4 years. Qt 5 is no longer officially supported by Qt for opensource, it's time to drop Qt 5.
This commit is contained in:
@@ -84,11 +84,7 @@ void PlaylistListView::dragEnterEvent(QDragEnterEvent *e) {
|
||||
|
||||
void PlaylistListView::dragMoveEvent(QDragMoveEvent *e) {
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
QModelIndex drag_hover_tab_ = indexAt(e->position().toPoint());
|
||||
#else
|
||||
QModelIndex drag_hover_tab_ = indexAt(e->pos());
|
||||
#endif
|
||||
QModelIndex drag_hover_tab_ = indexAt(e->position().toPoint());
|
||||
|
||||
if (e->mimeData()->hasFormat(QLatin1String(Playlist::kRowsMimetype))) {
|
||||
if (drag_hover_tab_ != currentIndex()) {
|
||||
|
||||
Reference in New Issue
Block a user