diff -r 12f9ea615cbc -r 314e12e23c3a src/messageLog.h --- a/src/messageLog.h Thu Jan 04 19:40:52 2018 +0200 +++ b/src/messageLog.h Thu Jan 04 19:44:26 2018 +0200 @@ -46,7 +46,7 @@ { public: // Constructs a line with the given \c text - Line (QString text); + Line(QString text); // Check this line's expiry and update alpha accordingly. @changed // is updated to whether the line has somehow changed since the @@ -54,7 +54,7 @@ // // Returns true if the line is to still stick around, false if it // expired. - bool update (bool& changed); + bool update(bool& changed); QString text; float alpha; @@ -62,16 +62,16 @@ }; // Constructs the message manager. - explicit MessageManager (QObject* parent = nullptr); + explicit MessageManager(QObject* parent = nullptr); // Adds a line with the given \c text to the message manager. - void addLine (QString line); + void addLine(QString line); // Returns all active lines in the message manager. const QList& getLines() const; GLRenderer* renderer() const; - void setRenderer (GLRenderer* renderer); + void setRenderer(GLRenderer* renderer); private: QList m_lines;