mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
DolphinPart: Use Qt::convertFromPlainText instead of Qt::escape for filenames
Unlike escape, convertFromPlainText preserves whitespace sequences CCBUG: 321778 REVIEW: 111835
This commit is contained in:
parent
8bf4aab73e
commit
254ab4b579
|
@ -356,7 +356,7 @@ void DolphinPart::slotRequestItemInfo(const KFileItem& item)
|
|||
if (item.isNull()) {
|
||||
updateStatusBar();
|
||||
} else {
|
||||
const QString escapedText = Qt::escape(item.getStatusBarInfo());
|
||||
const QString escapedText = Qt::convertFromPlainText(item.getStatusBarInfo());
|
||||
ReadOnlyPart::setStatusBarText(QString("<qt>%1</qt>").arg(escapedText));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue