-
- const KConfigGroup config(KSharedConfig::openConfig(QStringLiteral("kdeglobals")), "General");
- const QString browser = config.readEntry("BrowserApplication");
- if (!browser.isEmpty()) {
- app = browser;
- if (app.startsWith('!')) {
- // a literal command has been configured, remove the '!' prefix
- app.remove(0, 1);
- }
- }