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:
parent
72a3172ea5
commit
48a368b78f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user