Commit 0c6c0cea authored by t-o-m's avatar t-o-m

Update QTableWidgetNumberItem to adhere to coding standards

parent 78737c49
......@@ -914,7 +914,7 @@ QString formatPingTime(double dPingTime)
* Class constructor.
* @param[int64_t] numValue The Number to convert to a QString for display
*/
QTableWidgetNumberItem::QTableWidgetNumberItem(const int64_t numValue) : QTableWidgetItem(), value(numValue)
QTableWidgetNumberItem::QTableWidgetNumberItem(const int64_t numValue) : QTableWidgetItem(), m_value(numValue)
{
this->setText(QString::number(numValue));
}
......@@ -931,7 +931,7 @@ bool QTableWidgetNumberItem::operator<(QTableWidgetItem const& item) const
return QTableWidgetItem::operator<(item);
}
return value < rhs->value;
return m_value < rhs->m_value;
}
} // namespace GUIUtil
......@@ -181,11 +181,11 @@ namespace GUIUtil
class QTableWidgetNumberItem : public QTableWidgetItem
{
public:
QTableWidgetNumberItem(const int64_t numValue);
explicit QTableWidgetNumberItem(const int64_t numValue);
virtual bool operator<(QTableWidgetItem const& item) const;
private:
int64_t value;
int64_t m_value;
};
bool GetStartOnSystemStartup();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment