diff --git a/src/playlist/playlistdelegates.cpp b/src/playlist/playlistdelegates.cpp index c1eb28369..0190feb52 100644 --- a/src/playlist/playlistdelegates.cpp +++ b/src/playlist/playlistdelegates.cpp @@ -214,6 +214,9 @@ bool PlaylistDelegateBase::helpEvent(QHelpEvent *event, QAbstractItemView *view, // Special case: we want newlines in the comment tooltip if (index.column() == Playlist::Column_Comment) { text = Qt::escape(index.data(Qt::ToolTipRole).toString()); + text.replace("\\r\\n", "
"); + text.replace("\\n", "
"); + text.replace("\r\n", "
"); text.replace("\n", "
"); }