From 19139afd779791d4deebb709e3e78daeed809e53 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 15 Apr 2009 17:14:30 +0000 Subject: [PATCH] remove the '!' prefix, which is used for a literal command BUG: 189672 svn path=/trunk/KDE/kdebase/apps/; revision=954343 --- src/dolphinviewcontainer.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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", -- 2.47.3