mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-08 12:46:08 +00:00
fix: code review
This commit is contained in:
parent
18374a16d4
commit
6f335fd0ae
@ -4,13 +4,13 @@
|
|||||||
|
|
||||||
namespace Shared::Models
|
namespace Shared::Models
|
||||||
{
|
{
|
||||||
SectionItem::SectionItem(QString id,
|
SectionItem::SectionItem(const QString& id,
|
||||||
SectionType sectionType,
|
SectionType sectionType,
|
||||||
QString name,
|
const QString& name,
|
||||||
QString description,
|
const QString& description,
|
||||||
QString image,
|
const QString& image,
|
||||||
QString icon,
|
const QString& icon,
|
||||||
QString color,
|
const QString& color,
|
||||||
bool active,
|
bool active,
|
||||||
bool enabled,
|
bool enabled,
|
||||||
bool amISectionAdmin,
|
bool amISectionAdmin,
|
||||||
|
@ -39,13 +39,13 @@ class SectionItem : public QObject
|
|||||||
Q_PROPERTY(bool ensOnly READ getIsEnsOnly)
|
Q_PROPERTY(bool ensOnly READ getIsEnsOnly)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SectionItem(QString id,
|
SectionItem(const QString &id,
|
||||||
SectionType sectionType,
|
SectionType sectionType,
|
||||||
QString name,
|
const QString& name,
|
||||||
QString description,
|
const QString& description,
|
||||||
QString image,
|
const QString& image,
|
||||||
QString icon,
|
const QString& icon,
|
||||||
QString color,
|
const QString& color,
|
||||||
bool active = false,
|
bool active = false,
|
||||||
bool enabled = true,
|
bool enabled = true,
|
||||||
bool amISectionAdmin = false,
|
bool amISectionAdmin = false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user