[LyX/master] Polishing

Juergen Spitzmueller spitz at lyx.org
Sun Oct 31 11:52:13 UTC 2021


commit 4c0caf9dd48d097ba2721609d45bb65a21740959
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Sun Oct 31 13:16:20 2021 +0100

    Polishing
---
 src/frontends/qt/GuiDocument.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/frontends/qt/GuiDocument.cpp b/src/frontends/qt/GuiDocument.cpp
index 1b837f0..3e6df5d 100644
--- a/src/frontends/qt/GuiDocument.cpp
+++ b/src/frontends/qt/GuiDocument.cpp
@@ -611,8 +611,7 @@ LocalLayout::LocalLayout(QWidget * parent)
 	connect(validatePB, SIGNAL(clicked()), this, SLOT(validatePressed()));
 	connect(convertPB, SIGNAL(clicked()), this, SLOT(convertPressed()));
 	connect(editPB, SIGNAL(clicked()), this, SLOT(editExternal()));
-	// https://stackoverflow.com/questions/13027091/how-to-override-tab-width-in-qt
-	const int tabStop = 4;
+	int const tabStop = 4;
 	QFontMetrics metrics(locallayoutTE->currentFont());
 #if (QT_VERSION >= QT_VERSION_CHECK(5, 11, 0))
 	// horizontalAdvance() is available starting in 5.11.0


More information about the lyx-cvs mailing list