[pim/trojita] src/Common: Add more encapsulation in FileLogger
Espen Sandøy Hustad <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit e13ba6640689bcf97374b10636273c1073a02b04 by Espen Sandøy Hustad.
Committed on 03/08/2026 at 19:02.
Pushed by ehustad into branch 'master'.
Add more encapsulation in FileLogger
Make protected helper methods and member variables private since
there are no subclasses.
M +1 -1 src/Common/FileLogger.h
https://invent.kde.org/pim/trojita/-/commit/e13ba6640689bcf97374b10636273c1073a02b04
diff --git a/src/Common/FileLogger.h b/src/Common/FileLogger.h
index 1961b5e06..47d4d5969 100644
--- a/src/Common/FileLogger.h
+++ b/src/Common/FileLogger.h
@@ -49,7 +49,7 @@ public slots:
void setAutoFlush(const bool autoFlush);
-protected:
+private:
QString formatMessage(uint parser, const Common::LogMessage &message) const;
void escapeCrLf(QString &s);