summaryrefslogtreecommitdiffstats
path: root/applications
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-04 07:51:39 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-04 15:19:55 +0200
commitf57648811a9883c0b99bfc1550a3a926001f13b5 (patch)
tree1506c4b780724f5b2bd48e3de83d93da2af46ec5 /applications
parentc080af579c4a692a071c03a81482ceba9f5b9114 (diff)
downloadkube-f57648811a9883c0b99bfc1550a3a926001f13b5.tar.gz
kube-f57648811a9883c0b99bfc1550a3a926001f13b5.zip
Install icons as our own theme based on breeze.
We're not following the system theme, so the icons shouldn't either. And on other platforms than linux we anyways have to roll our own solution.
Diffstat (limited to 'applications')
-rw-r--r--applications/mail/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/mail/main.cpp b/applications/mail/main.cpp
index f28c72d3..b02c62d2 100644
--- a/applications/mail/main.cpp
+++ b/applications/mail/main.cpp
@@ -59,6 +59,7 @@ int main(int argc, char *argv[])
59 QtWebEngine::initialize(); 59 QtWebEngine::initialize();
60 WebUrlRequestInterceptor *wuri = new WebUrlRequestInterceptor(); 60 WebUrlRequestInterceptor *wuri = new WebUrlRequestInterceptor();
61 QQuickWebEngineProfile::defaultProfile()->setRequestInterceptor(wuri); 61 QQuickWebEngineProfile::defaultProfile()->setRequestInterceptor(wuri);
62 QIcon::setThemeName("kube");
62 63
63 auto package = KPackage::PackageLoader::self()->loadPackage("KPackage/GenericQML", "org.kube.components.mail"); 64 auto package = KPackage::PackageLoader::self()->loadPackage("KPackage/GenericQML", "org.kube.components.mail");
64 Q_ASSERT(package.isValid()); 65 Q_ASSERT(package.isValid());