summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-03-29 16:32:01 +0200
committerTor Lillqvist <tml@collabora.com>2019-03-29 16:32:01 +0200
commite608dca4f4c99631ebd4d4dfa02f0e28a625cdba (patch)
treeea7b8f9f307117779a934a21a988ad07f3406306 /vcl
parent465caa7f9dd9fb04c7f777193e0e4e7a9fe4ce41 (diff)
Use the colibre icon theme in Online and apps
Change-Id: Idb79b3d4b1f14712f2e03d17fca6bec56f317edf
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/IconThemeSelector.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/app/IconThemeSelector.cxx b/vcl/source/app/IconThemeSelector.cxx
index 2f976d9cb8c0..8a644fd39b3d 100644
--- a/vcl/source/app/IconThemeSelector.cxx
+++ b/vcl/source/app/IconThemeSelector.cxx
@@ -7,6 +7,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#include <comphelper/lok.hxx>
+
#include <vcl/IconThemeSelector.hxx>
#include <vcl/IconThemeScanner.hxx>
@@ -50,6 +52,9 @@ IconThemeSelector::IconThemeSelector()
/*static*/ OUString
IconThemeSelector::GetIconThemeForDesktopEnvironment(const OUString& desktopEnvironment)
{
+ if (comphelper::LibreOfficeKit::isActive())
+ return OUString("colibre");
+
OUString r;
if ( desktopEnvironment.equalsIgnoreAsciiCase("tde") ||
desktopEnvironment.equalsIgnoreAsciiCase("kde") ) {