From e09e3dd1d5e6f9ce8e16b93ce03b3b79b5dea0bd Mon Sep 17 00:00:00 2001 From: Milian Wolff Date: Tue, 23 Feb 2016 23:48:45 +0100 Subject: [PATCH] Use monospace font family in tooltips. Bug got fixed upstream in Qt but for older Qt this improves readability significantly. --- gui/treemodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/treemodel.cpp b/gui/treemodel.cpp index 573943d..1569153 100644 --- a/gui/treemodel.cpp +++ b/gui/treemodel.cpp @@ -192,7 +192,7 @@ QVariant TreeModel::data(const QModelIndex& index, int role) const } else if (role == Qt::ToolTipRole) { QString tooltip; QTextStream stream(&tooltip); - stream << "
";
+        stream << "
";
         stream << i18nc("1: function, 2: file, 3: line, 4: module", "%1\n  at %2:%3\n  in %4",
                         row->location->function, row->location->file, row->location->line, row->location->module);
         stream << '\n';
-- 
2.7.4