@@ -103,7 +103,7 @@ int BanTableModel::rowCount(const QModelIndex &parent) const
|
||||
int BanTableModel::columnCount(const QModelIndex &parent) const
|
||||
{
|
||||
Q_UNUSED(parent);
|
||||
return columns.length();;
|
||||
return columns.length();
|
||||
}
|
||||
|
||||
QVariant BanTableModel::data(const QModelIndex &index, int role) const
|
||||
@@ -178,4 +178,4 @@ bool BanTableModel::shouldShow()
|
||||
if (priv->size() > 0)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -225,7 +225,7 @@ QString formatBitcoinURI(const SendCoinsRecipient &info)
|
||||
|
||||
if (!info.message.isEmpty())
|
||||
{
|
||||
QString msg(QUrl::toPercentEncoding(info.message));;
|
||||
QString msg(QUrl::toPercentEncoding(info.message));
|
||||
ret += QString("%1message=%2").arg(paramCount == 0 ? "?" : "&").arg(msg);
|
||||
paramCount++;
|
||||
}
|
||||
|
||||
@@ -147,7 +147,7 @@ int PeerTableModel::rowCount(const QModelIndex &parent) const
|
||||
int PeerTableModel::columnCount(const QModelIndex &parent) const
|
||||
{
|
||||
Q_UNUSED(parent);
|
||||
return columns.length();;
|
||||
return columns.length();
|
||||
}
|
||||
|
||||
QVariant PeerTableModel::data(const QModelIndex &index, int role) const
|
||||
|
||||
Reference in New Issue
Block a user