┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewcontainer.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-04-15 17:14:30 +0000
committerPeter Penz <[email protected]>2009-04-15 17:14:30 +0000
commit19139afd779791d4deebb709e3e78daeed809e53 (patch)
tree59b0b196e997f537296af1b4f5f5bd31f22e999b /src/dolphinviewcontainer.cpp
parent897f481e96afa4ae35a22713552858da69a532a3 (diff)
remove the '!' prefix, which is used for a literal command
BUG: 189672 svn path=/trunk/KDE/kdebase/apps/; revision=954343
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
-rw-r--r--src/dolphinviewcontainer.cpp4
1 files changed, 4 insertions, 0 deletions
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",