mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Merge branch 'Applications/18.12'
This commit is contained in:
commit
6e88d7cef0
|
@ -311,6 +311,10 @@ void DolphinViewContainer::showMessage(const QString& msg, MessageType type)
|
|||
|
||||
m_messageWidget->setText(msg);
|
||||
|
||||
// TODO: wrap at arbitrary character positions once QLabel can do this
|
||||
// https://bugreports.qt.io/browse/QTBUG-1276
|
||||
m_messageWidget->setWordWrap(true);
|
||||
|
||||
switch (type) {
|
||||
case Information: m_messageWidget->setMessageType(KMessageWidget::Information); break;
|
||||
case Warning: m_messageWidget->setMessageType(KMessageWidget::Warning); break;
|
||||
|
|
Loading…
Reference in a new issue