mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
minor layout fix in infosidebar
svn path=/trunk/KDE/kdebase/apps/; revision=686795
This commit is contained in:
parent
7eef5ebec2
commit
18beab8c6b
|
@ -272,7 +272,7 @@ void InfoSidebarPage::showMetaInfo()
|
||||||
fileItem.refresh();
|
fileItem.refresh();
|
||||||
|
|
||||||
if (fileItem.isDir()) {
|
if (fileItem.isDir()) {
|
||||||
addInfoLine(text, i18nc("@label", "Type:"), i18nc("@info", "Folder"));
|
addInfoLine(text, i18nc("@label", "Type:"), i18nc("@label", "Folder"));
|
||||||
} else {
|
} else {
|
||||||
addInfoLine(text, i18nc("@label", "Type:"), fileItem.mimeComment());
|
addInfoLine(text, i18nc("@label", "Type:"), fileItem.mimeComment());
|
||||||
|
|
||||||
|
@ -322,7 +322,7 @@ void InfoSidebarPage::addInfoLine(QString& text,
|
||||||
const QString& labelText,
|
const QString& labelText,
|
||||||
const QString& infoText)
|
const QString& infoText)
|
||||||
{
|
{
|
||||||
if (!infoText.isEmpty()) {
|
if (!text.isEmpty()) {
|
||||||
text += "<br/>";
|
text += "<br/>";
|
||||||
}
|
}
|
||||||
text += QString("<b>%1</b> %2").arg(labelText).arg(infoText);
|
text += QString("<b>%1</b> %2").arg(labelText).arg(infoText);
|
||||||
|
|
Loading…
Reference in a new issue