diff --git a/src/lib/app/mainapplication.cpp b/src/lib/app/mainapplication.cpp index 647c480df..80b1dc22e 100644 --- a/src/lib/app/mainapplication.cpp +++ b/src/lib/app/mainapplication.cpp @@ -1006,6 +1006,8 @@ void MainApplication::loadTheme(const QString &name) qss.append(QzTools::readAllFileContents(activeThemePath + QLatin1String("/rtl.css"))); } + qss.append(QzTools::readAllFileContents(DataPaths::currentProfilePath() + QL1S("/userChrome.css"))); + QString relativePath = QDir::current().relativeFilePath(activeThemePath); qss.replace(QzRegExp(QSL("url\\s*\\(\\s*([^\\*:\\);]+)\\s*\\)"), Qt::CaseSensitive), QString("url(%1/\\1)").arg(relativePath)); setStyleSheet(qss);