Update MainWindow.cpp
fixed small typo in the warning about 0.22 being dev version not for production use
This commit is contained in:
@@ -1714,7 +1714,7 @@ void MainWindow::renderDevBuildWarning(
|
||||
|
||||
// Construct the lines of text and figure out how much space they need
|
||||
const auto devWarningLine1 = tr("WARNING: This is a development version.");
|
||||
const auto devWarningLine2 = tr("Please do not use in a production environment.");
|
||||
const auto devWarningLine2 = tr("Please do not use it in a production environment.");
|
||||
QFontMetrics fontMetrics(painter.font()); // Try to use the existing font
|
||||
int padding = QtTools::horizontalAdvance(fontMetrics, QLatin1String("M")); // Arbitrary
|
||||
int line1Width = QtTools::horizontalAdvance(fontMetrics, devWarningLine1);
|
||||
|
||||
Reference in New Issue
Block a user