From 0c0699567e3928af8fc28e74593bef6cbe39175b Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Tue, 24 Jun 2014 12:30:21 +0000 Subject: [PATCH] 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 --- qelectrotech.pro | 1 - sources/qetapp.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/qelectrotech.pro b/qelectrotech.pro index 866a6bc99..a723f045c 100644 --- a/qelectrotech.pro +++ b/qelectrotech.pro @@ -31,7 +31,6 @@ win32 { QET_COMMON_TBT_PATH = 'titleblocks/' QET_LANG_PATH = 'lang/' QET_LICENSE_PATH = './' - QET_STYLE_PATH = './' } macx { # Chemins MacOS X diff --git a/sources/qetapp.cpp b/sources/qetapp.cpp index 5f6266cdd..7358020fe 100644 --- a/sources/qetapp.cpp +++ b/sources/qetapp.cpp @@ -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);