Add style to qelectrotech.pro, change url location to read style

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3176 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2014-06-24 10:46:29 +00:00
parent f8cdd061c2
commit 5d60438224
2 changed files with 7 additions and 2 deletions

View File

@@ -954,7 +954,7 @@ void QETApp::useSystemPalette(bool use) {
"}"
);
} else {
QFile file("./style.css");
QFile file(":/style.css");
file.open(QFile::ReadOnly);
QString styleSheet = QLatin1String(file.readAll());
setStyleSheet(styleSheet);