summaryrefslogtreecommitdiff
path: root/multimedia/okle/files/patch-src::okle_win.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/okle/files/patch-src::okle_win.cpp')
-rw-r--r--multimedia/okle/files/patch-src::okle_win.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/multimedia/okle/files/patch-src::okle_win.cpp b/multimedia/okle/files/patch-src::okle_win.cpp
deleted file mode 100644
index 2b9d03310f9c..000000000000
--- a/multimedia/okle/files/patch-src::okle_win.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
---- src/okle_win.cpp.orig Sun Nov 23 09:26:07 2003
-+++ src/okle_win.cpp Thu Mar 11 22:41:26 2004
-@@ -37,6 +37,7 @@
- #include <kstandarddirs.h>
- #include <qtooltip.h>
- #include <dcopclient.h>
-+#include <kfileitem.h>
-
- extern "C" {
- #include <X11/Xlib.h>
-@@ -737,14 +738,14 @@
- return;
- }
-
-- QFileInfo fi(dvdp);
-- if(!fi.exists())
-+ KFileItem fi(KFileItem::Unknown, KFileItem::Unknown, dvdp);
-+ if(!QFile::exists(dvdp))
- {
- KMessageBox::error(0,QString(i18n("%1 does not exist.\n\nEither set the correct DVD path in File -> Settings or create a symlink from your DVD device to %2.")).arg(dvdp).arg(dvdp),i18n("DVD device file not found"));
- return;
- }
-
-- if(!fi.isFile() && !fi.isSymLink())
-+ if(!fi.isFile() && !fi.isLink())
- {
- KMessageBox::error(0,QString(i18n("%1 exists but is not a file or symlink.\n\nMake sure that %2 really refers to your DVD device or change the DVD device path in File -> Settings.")).arg(dvdp).arg(dvdp),i18n("DVD device file not usable"));
- return;