]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinviewcontainer.cpp
Ported tests away from KRandomSequence, QTest::kWaitForSignal and KTempDir.
[dolphin.git] / src / dolphinviewcontainer.cpp
index a9b03796b867a9e99b4362079643a0f65d649a44..3954a12e6638c2abc7ab57c669e1dc1680b073a6 100644 (file)
@@ -20,6 +20,7 @@
 #include "dolphinviewcontainer.h"
 #include <KProtocolManager>
 
+#include <QDropEvent>
 #include <QTimer>
 #include <QMimeData>
 #include <QVBoxLayout>
@@ -478,7 +479,7 @@ void DolphinViewContainer::slotDirectoryLoadingCanceled()
 
 void DolphinViewContainer::slotUrlIsFileError(const QUrl& url)
 {
-    const KFileItem item(KFileItem::Unknown, KFileItem::Unknown, url);
+    const KFileItem item(url);
 
     // Find out if the file can be opened in the view (for example, this is the
     // case if the file is an archive). The mime type must be known for that.