From 4b5e8067faacff933a19b8926d3d92b545dd6916 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Tue, 24 Jun 2014 15:09:09 +0000 Subject: [PATCH] Qetapp now read style.css in user configDir git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3178 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/qetapp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/qetapp.cpp b/sources/qetapp.cpp index 7358020fe..6d1303bcb 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(configDir() + "style.css"); file.open(QFile::ReadOnly); QString styleSheet = QLatin1String(file.readAll()); setStyleSheet(styleSheet);