]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/main.cpp
As KURL has been renamed to KUrl all classes and methods, which use the term 'URL...
[dolphin.git] / src / main.cpp
index 8b52ba166055f8a4f4e2e52d8c546d12c36c91bd..eacff0cba5f97262b4039bf0be7bc9d7fbe1a95c 100644 (file)
@@ -27,7 +27,7 @@
 
 static KCmdLineOptions options[] =
 {
-    { "+[URL]", I18N_NOOP( "Document to open" ), 0 },
+    { "+[Url]", I18N_NOOP( "Document to open" ), 0 },
     KCmdLineLastOption
 };
 
@@ -68,7 +68,7 @@ int main(int argc, char **argv)
     } else {
         KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
         if (args->count() > 0) {
-            mainWin.activeView()->setURL(args->url(0));
+            mainWin.activeView()->setUrl(args->url(0));
 
             for (int i = 1; i < args->count(); ++i) {
                 KRun::run("dolphin", args->url(i));