mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-28 03:44:52 +08:00
UI: Remove Qt 5 ifdef guards and code
This commit is contained in:
@@ -12,11 +12,7 @@ void FocusList::focusInEvent(QFocusEvent *event)
|
||||
|
||||
void FocusList::dragMoveEvent(QDragMoveEvent *event)
|
||||
{
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
QPoint pos = event->position().toPoint();
|
||||
#else
|
||||
QPoint pos = event->pos();
|
||||
#endif
|
||||
int itemRow = row(itemAt(pos));
|
||||
|
||||
if ((itemRow == currentRow() + 1) ||
|
||||
|
||||
Reference in New Issue
Block a user