Kaydet (Commit) b82f36ab authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:stringconstant

Change-Id: Ib579c499904bf10844ed58dfd3e531002b308dcf
üst c3b48b26
...@@ -145,9 +145,7 @@ Service::Service(): enabled_(false) { ...@@ -145,9 +145,7 @@ Service::Service(): enabled_(false) {
css::uno::getCurrentContext()); css::uno::getCurrentContext());
if (context.is()) { if (context.is()) {
OUString desktop; OUString desktop;
context->getValueByName( context->getValueByName("system.desktop-environment") >>= desktop;
OUString("system.desktop-environment")) >>=
desktop;
enabled_ = desktop == "KDE4" && KApplication::kApplication() != 0; enabled_ = desktop == "KDE4" && KApplication::kApplication() != 0;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment