mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
The KFileMetaInfoWidget does not use a hardcoded small font anymore, so it must be set manually nowidget
svn path=/trunk/KDE/kdebase/apps/; revision=1115496
This commit is contained in:
parent
e66ca7f5fd
commit
72d6d85323
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
|||
#include <kfileitem.h>
|
||||
#include <kfilemetadatawidget.h>
|
||||
#include <kfileplacesmodel.h>
|
||||
#include <kglobalsettings.h>
|
||||
#include <kio/previewjob.h>
|
||||
#include <kiconeffect.h>
|
||||
#include <kiconloader.h>
|
||||
|
@ -102,6 +103,7 @@ InformationPanelContent::InformationPanelContent(QWidget* parent) :
|
|||
m_preview->setVisible(showPreview);
|
||||
|
||||
m_metaDataWidget = new KFileMetaDataWidget(parent);
|
||||
m_metaDataWidget->setFont(KGlobalSettings::smallestReadableFont());
|
||||
m_metaDataWidget->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum);
|
||||
connect(m_metaDataWidget, SIGNAL(urlActivated(KUrl)), this, SIGNAL(urlActivated(KUrl)));
|
||||
|
||||
|
|
Loading…
Reference in a new issue