Bundle icons using the Qt resource system.
Simplify resource loading logic and enable reproducible builds. Fixes #2582
This commit is contained in:
committed by
Jonathan White
parent
4ff781fa48
commit
b045160e4f
@@ -4160,8 +4160,8 @@ void BaseStyle::polish(QApplication* app)
|
||||
}
|
||||
|
||||
Q_INIT_RESOURCE(styles);
|
||||
QString stylesheet;
|
||||
|
||||
QString stylesheet;
|
||||
QFile baseStylesheetFile(":/styles/base/basestyle.qss");
|
||||
if (baseStylesheetFile.open(QIODevice::ReadOnly | QIODevice::Text)) {
|
||||
stylesheet = baseStylesheetFile.readAll();
|
||||
|
||||
Reference in New Issue
Block a user