]> git.sesse.net Git - kdenlive/blobdiff - src/jogshuttle.cpp
More krazy code fixes
[kdenlive] / src / jogshuttle.cpp
index f53f49166d750db849c15c6be3b84cc9be60c724..208706cc4a744c5a0f7d9458372543cfc15acbd3 100644 (file)
@@ -58,7 +58,7 @@
 #include <QEvent>
 
 #include <KDebug>
-
+#include <kde_file.h>
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -87,7 +87,7 @@ bool ShuttleThread::isWorking() {
 void ShuttleThread::run() {
     kDebug() << "-------  STARTING SHUTTLE: " << m_device;
 
-    const int fd = open((char *) m_device.toUtf8().data(), O_RDONLY);
+    const int fd = KDE_open((char *) m_device.toUtf8().data(), O_RDONLY);
     if (fd < 0) {
         fprintf(stderr, "Can't open Jog Shuttle FILE DESCRIPTOR\n");
         return;;