Fixed warnings.

This commit is contained in:
Leonardo Zide
2025-11-23 22:52:28 -08:00
parent 3bf01f2095
commit d70cd0fa94
12 changed files with 34 additions and 22 deletions
+3 -2
View File
@@ -903,8 +903,9 @@ void lcQPreferencesDialog::updateCommandList()
const QString identifier = tr(gCommands[actionIdx].ID);
int pos = identifier.indexOf(QLatin1Char('.'));
int subPos = identifier.indexOf(QLatin1Char('.'), pos + 1);
qsizetype pos = identifier.indexOf(QLatin1Char('.'));
qsizetype subPos = identifier.indexOf(QLatin1Char('.'), pos + 1);
if (subPos == -1)
subPos = pos;
+1 -1
View File
@@ -15,7 +15,7 @@
QString lcFormatValue(float Value, int Precision)
{
QString String = QString::number(Value, 'f', Precision);
const int Dot = String.indexOf('.');
const qsizetype Dot = String.indexOf('.');
if (Dot != -1)
{