Commit e41aac31 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing Q_REQUIRED_RESULT

parent 4767063e
Pipeline #21510 failed with stage
in 17 seconds
......@@ -49,7 +49,7 @@ public:
~IdentityCombo();
Q_REQUIRED_RESULT QString currentIdentityName() const;
uint currentIdentity() const;
Q_REQUIRED_RESULT uint currentIdentity() const;
void setCurrentIdentity(const QString &identityName);
void setCurrentIdentity(const Identity &identity);
void setCurrentIdentity(uint uoid);
......
......@@ -69,7 +69,7 @@ public:
void writeConfig() const;
void readConfig(KConfig *config);
void createDefaultIdentity();
QStringList groupList(KConfig *config) const;
Q_REQUIRED_RESULT QStringList groupList(KConfig *config) const;
void slotIdentitiesChanged(const QString &id);
KConfig *mConfig = nullptr;
......@@ -77,7 +77,7 @@ public:
QVector<Identity> shadowIdentities;
// returns a new Unique Object Identifier
int newUoid();
Q_REQUIRED_RESULT int newUoid();
bool mReadOnly = true;
KIdentityManagement::IdentityManager *q;
......
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