GH-378 add a resource search path to custom themes
This allows adding images and other bits and pieces to themes.
This commit is contained in:
		| @@ -1027,6 +1027,7 @@ void MultiMC::setApplicationTheme(const QString& name) | ||||
| 		auto & theme = (*themeIter).second; | ||||
| 		setStyle(QStyleFactory::create(theme->qtTheme())); | ||||
| 		setPalette(theme->colorScheme()); | ||||
| 		QDir::setSearchPaths("theme", theme->searchPaths()); | ||||
| 		setStyleSheet(theme->appStyleSheet()); | ||||
| 	} | ||||
| 	else | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Petr Mrázek
					Petr Mrázek