From: Peter Penz Date: Wed, 15 Apr 2009 17:14:30 +0000 (+0000) Subject: remove the '!' prefix, which is used for a literal command X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/19139afd779791d4deebb709e3e78daeed809e53 remove the '!' prefix, which is used for a literal command BUG: 189672 svn path=/trunk/KDE/kdebase/apps/; revision=954343 --- diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index b2342c3b0..9f61360d7 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -402,6 +402,10 @@ void DolphinViewContainer::restoreView(const KUrl& url) const QString browser = config.readEntry("BrowserApplication"); if (!browser.isEmpty()) { app = browser; + if (app.startsWith('!')) { + // a literal command has been configured, remove the '!' prefix + app = app.mid(1); + } } } else { showErrorMessage(i18nc("@info:status",