Polishing

This commit is contained in:
Juergen Spitzmueller 2021-10-31 13:16:20 +01:00
parent c50f40b522
commit 4c0caf9dd4

View File

@ -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