Skip to content

Commit

Permalink
[Qt] Disable workaround for drag and drop on Windows, it breaks drag …
Browse files Browse the repository at this point in the history
…and drop for recent Qt versions and Avidemux window in foreground, drag source in background and video display as drop target
  • Loading branch information
eumagga0x2a committed Aug 14, 2019
1 parent 294c5c8 commit eb62234
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions avidemux/qt4/ADM_userInterfaces/ADM_gui/Q_gui2.cpp
Expand Up @@ -1694,7 +1694,9 @@ uint8_t initGUI(const vector<IScriptEngine*>& scriptEngines)
mw->ui.frame_video->setAttribute(Qt::WA_OpaquePaintEvent);

UI_QT4VideoWidget(mw->ui.frame_video); // Add the widget that will handle video display
#if QT_VERSION < QT_VERSION_CHECK(5,11,0) // not sure about the version
mw->ui.frame_video->setAcceptDrops(true); // needed for drag and drop to work on windows
#endif
admPreview::setMainDimension(0,0,ZOOM_1_1);

UI_updateRecentMenu();
Expand Down

0 comments on commit eb62234

Please sign in to comment.