QIPAddressUtils: remove unused base argument of number() function

Change-Id: I19ea99d1bb6ecb9a6fed39bf8fe13b449864d800
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Marc Mutz 2022-03-14 11:12:22 +01:00
parent 72a3172ea5
commit 48a368b78f

View File

@ -49,10 +49,10 @@ using namespace Qt::StringLiterals;
namespace QIPAddressUtils {
static QString number(quint8 val, int base = 10)
static QString number(quint8 val)
{
QString zero = QStringLiteral("0");
return val ? qulltoa(val, base, zero) : zero;
return val ? qulltoa(val, 10, zero) : zero;
}
typedef QVarLengthArray<char, 64> Buffer;