Add basic support for system icons and custom icons

This commit is contained in:
Jonas Kvinge
2019-03-13 00:43:46 +01:00
parent d09af19d3f
commit d575ab0b2b
5 changed files with 58 additions and 14 deletions

View File

@@ -223,6 +223,8 @@ int main(int argc, char* argv[]) {
QLoggingCategory::defaultCategory()->setEnabled(QtDebugMsg, true);
#endif
IconLoader::Init();
#ifdef HAVE_TRANSLATIONS
QString override_language = options.language();
if (override_language.isEmpty()) {