mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 12:26:59 +00:00
Show names of debug modes in the debug panel
Sometimes it's hard to know which is which from a translation of the description alone.
This commit is contained in:
parent
b4ab194216
commit
2b6d0ae3de
@ -88,7 +88,9 @@ GuiProgressView::GuiProgressView(GuiView & parent, Qt::DockWidgetArea area,
|
||||
DebugVector dmap;
|
||||
for (int i = 1 ; i < level_count; i++) {
|
||||
Debug::Type const level = Debug::value(i);
|
||||
QString const desc = qt_(Debug::description(level));
|
||||
QString const desc =
|
||||
toqstr(from_ascii(Debug::name(level) + " - "))
|
||||
+ qt_(Debug::description(level));
|
||||
dmap.push_back(DebugMap(level, desc));
|
||||
}
|
||||
sort(dmap.begin(), dmap.end(), DebugSorter);
|
||||
|
Loading…
Reference in New Issue
Block a user