mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 22:00:35 +01:00
Fix for packaging and for users can edit style.css
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3177 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -31,7 +31,6 @@ win32 {
|
||||
QET_COMMON_TBT_PATH = 'titleblocks/'
|
||||
QET_LANG_PATH = 'lang/'
|
||||
QET_LICENSE_PATH = './'
|
||||
QET_STYLE_PATH = './'
|
||||
}
|
||||
macx {
|
||||
# Chemins MacOS X
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user