]> git.sesse.net Git - kdenlive/blobdiff - src/mainwindow.cpp
jogshuttle: add support for shuttles on newer systems - part1
[kdenlive] / src / mainwindow.cpp
index 455adaa19fc430b683f35e1d8f62cc43120e6d18..cee87ec7fec5162114d9734570aedd18af473a6f 100644 (file)
@@ -882,7 +882,7 @@ void MainWindow::activateShuttleDevice()
     m_jogProcess = NULL;
     if (KdenliveSettings::enableshuttle() == false) return;
 
-    m_jogProcess = new JogShuttle(KdenliveSettings::shuttledevice());
+    m_jogProcess = new JogShuttle(JogShuttle::enumerateDevice(KdenliveSettings::shuttledevice()));
     m_jogShuttle = new JogShuttleAction(m_jogProcess, JogShuttleConfig::actionMap(KdenliveSettings::shuttlebuttons()));
 
     connect(m_jogShuttle, SIGNAL(rewindOneFrame()), m_monitorManager, SLOT(slotRewindOneFrame()));