[LyX/master] Amend 3b7a79f1: Use Debug::base_type instead of 'unsigned long long' where possible

Kornel Benko kornel at lyx.org
Sun Apr 24 11:15:47 UTC 2022


commit 98cc6acd0bb7643462367123d6fc31af81244d09
Author: Kornel Benko <kornel at lyx.org>
Date:   Sun Apr 24 13:52:46 2022 +0200

    Amend 3b7a79f1: Use Debug::base_type instead of 'unsigned long long' where possible
---
 src/frontends/qt/GuiProgressView.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/frontends/qt/GuiProgressView.cpp b/src/frontends/qt/GuiProgressView.cpp
index c44704b..0937c64 100644
--- a/src/frontends/qt/GuiProgressView.cpp
+++ b/src/frontends/qt/GuiProgressView.cpp
@@ -51,7 +51,7 @@ GuiProgressView::~GuiProgressView()
 
 
 namespace{
-typedef pair<unsigned long long, QString> DebugMap;
+typedef pair<Debug::base_type, QString> DebugMap;
 typedef vector<DebugMap> DebugVector;
 
 bool DebugSorter(DebugMap const & a, DebugMap const & b)
@@ -152,7 +152,7 @@ void GuiProgressView::debugMessageActivated(QTreeWidgetItem * item, int)
 
 void GuiProgressView::levelChanged()
 {
-	unsigned long long level = Debug::NONE;
+	Debug::base_type level = Debug::NONE;
 	QTreeWidgetItemIterator it(widget_->debugMessagesTW);
 	while (*it) {
 		if ((*it)->text(1) == qt_("Yes")) {


More information about the lyx-cvs mailing list