┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2014-02-24 14:17:03 +0100
committerEmmanuel Pescosta <[email protected]>2014-02-24 14:17:03 +0100
commit0d37038b407944a9b7ec05127b5b6d41dc1a496f (patch)
tree17c38052274173f1b0d4c26fb5f7559bef37fd6e /src/panels
parentc2887688f102d0412ba93c74facd5ed007185e3a (diff)
Handle font and palette changes in Dolphin list views.
Also update the font of the meta data widget in InformationPanelContent (smallest readable font). BUG: 329186 BUG: 315061 FIXED-IN: 4.13 REVIEW: 115958
Diffstat (limited to 'src/panels')
-rw-r--r--src/panels/information/informationpanelcontent.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/panels/information/informationpanelcontent.cpp b/src/panels/information/informationpanelcontent.cpp
index b2dd1582e..4fb0d9442 100644
--- a/src/panels/information/informationpanelcontent.cpp
+++ b/src/panels/information/informationpanelcontent.cpp
@@ -271,6 +271,10 @@ bool InformationPanelContent::eventFilter(QObject* obj, QEvent* event)
adjustWidgetSizes(parentWidget()->width());
break;
+ case QEvent::FontChange:
+ m_metaDataWidget->setFont(KGlobalSettings::smallestReadableFont());
+ break;
+
default:
break;
}