diff options
Diffstat (limited to 'kget/main.cpp')
-rw-r--r-- | kget/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kget/main.cpp b/kget/main.cpp index 1c1b9eb5..7f65e3f5 100644 --- a/kget/main.cpp +++ b/kget/main.cpp @@ -24,7 +24,6 @@ * ***************************************************************************/ - #include <twin.h> #include <tdelocale.h> #include <tdeaboutdata.h> @@ -102,7 +101,7 @@ class KGetApp : public KUniqueApplication { private: TDEMainWidget *tdemainwidget; - + public: KGetApp() : KUniqueApplication() { @@ -171,7 +170,7 @@ public: for( int i=0; i < args->count(); ++i){ urls.append(KURL::fromPathOrURL( args->arg(i))); } - + // Sometimes valid filenames are not recognised by KURL::isLocalFile(), they are marked as invalid then if ( args->count()==2 && ( urls.last().isLocalFile() || !urls.last().isValid())) { |