mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-20 17:01:22 +00:00
[InformationPanelContent] Fix coding style
GIT_SILENT
This commit is contained in:
parent
546ff9a19e
commit
c7aee6de10
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue