From 18beab8c6b6735c4d914acaf91837a9540be0e66 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 12 Jul 2007 06:30:28 +0000 Subject: [PATCH] minor layout fix in infosidebar svn path=/trunk/KDE/kdebase/apps/; revision=686795 --- src/infosidebarpage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp index b7490625fb..045e5d47ac 100644 --- a/src/infosidebarpage.cpp +++ b/src/infosidebarpage.cpp @@ -272,7 +272,7 @@ void InfoSidebarPage::showMetaInfo() fileItem.refresh(); if (fileItem.isDir()) { - addInfoLine(text, i18nc("@label", "Type:"), i18nc("@info", "Folder")); + addInfoLine(text, i18nc("@label", "Type:"), i18nc("@label", "Folder")); } else { addInfoLine(text, i18nc("@label", "Type:"), fileItem.mimeComment()); @@ -322,7 +322,7 @@ void InfoSidebarPage::addInfoLine(QString& text, const QString& labelText, const QString& infoText) { - if (!infoText.isEmpty()) { + if (!text.isEmpty()) { text += "
"; } text += QString("%1 %2").arg(labelText).arg(infoText);