From 7bb7295a9033c0a6729b301e7c9b76393539e29a Mon Sep 17 00:00:00 2001 From: Arno Date: Wed, 22 Dec 2010 16:59:12 +0100 Subject: Made colors configurable Added a tab to ConfigurationDialog to make some colors configurable. It works somehow. The font color isn't evaluated yet, since I'm not convinced that it is a good idea. But one problem is that calling qApp->setPalette() doesn't propagate to non visible child dialogs. Dunno if it's worth fixing. --- filestreewidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filestreewidget.cpp') diff --git a/filestreewidget.cpp b/filestreewidget.cpp index 857b848..671d531 100644 --- a/filestreewidget.cpp +++ b/filestreewidget.cpp @@ -308,7 +308,7 @@ void FilesTreeView::setModel(QAbstractItemModel *model){ readHeaderConfig(); } -void FilesTreeView::readConfig(){ +void FilesTreeView::readSettings(){ QSettings s; mHoverPics = s.value("ui/hoverpics", true).toBool(); mHoverWin->setWindowOpacity(s.value("ui/hoveropacity", 10).toFloat() / 10.0); -- cgit v1.2.3-70-g09d2