[InformationPanelContent] Fix coding style

GIT_SILENT
This commit is contained in:
Elvis Angelaccio 2019-04-14 22:47:47 +02:00
parent 546ff9a19e
commit c7aee6de10

View file

@ -147,7 +147,8 @@ void InformationPanelContent::showItem(const KFileItem& item)
refreshMetaData(); refreshMetaData();
} }
void InformationPanelContent::refreshPreview() { void InformationPanelContent::refreshPreview()
{
// If there is a preview job, kill it to prevent that we have jobs for // If there is a preview job, kill it to prevent that we have jobs for
// multiple items running, and thus a race condition (bug 250787). // multiple items running, and thus a race condition (bug 250787).
if (m_previewJob) { if (m_previewJob) {
@ -209,7 +210,8 @@ void InformationPanelContent::refreshPreview() {
} }
} }
void InformationPanelContent::refreshMetaData() { void InformationPanelContent::refreshMetaData()
{
m_metaDataWidget->setDateFormat(static_cast<Baloo::DateFormats>(InformationPanelSettings::dateFormat())); m_metaDataWidget->setDateFormat(static_cast<Baloo::DateFormats>(InformationPanelSettings::dateFormat()));
m_metaDataWidget->show(); m_metaDataWidget->show();
m_metaDataWidget->setItems(KFileItemList() << m_item); m_metaDataWidget->setItems(KFileItemList() << m_item);