chore: ValidatorError, create explicit private section

This commit is contained in:
sithlord48 2025-12-24 10:14:06 -05:00 committed by Nick Bolton
parent 2cbe2c65e8
commit b56dd3f387

View file

@ -14,13 +14,14 @@ namespace validators {
class ValidationError : public QObject
{
QString m_message;
QLabel *m_pLabel = nullptr;
public:
explicit ValidationError(QObject *parent, QLabel *label = nullptr);
const QString &message() const;
void setMessage(const QString &message);
private:
QString m_message;
QLabel *m_pLabel = nullptr;
};
} // namespace validators