Prefix desktopMode and noSound member vars with m_

This keeps consistency with the rest of the class and reduces possible
confusion, especially when member vars and parameters have the same
name.
This commit is contained in:
Vasily
2019-01-11 23:04:56 +01:00
parent 6ce10bd2f0
commit 65d1c8da38
2 changed files with 11 additions and 11 deletions
+4 -4
View File
@@ -42,7 +42,7 @@ namespace advsettings
class OverlayController : public QObject
{
Q_OBJECT
Q_PROPERTY( bool desktopMode READ isDesktopMode )
Q_PROPERTY( bool m_desktopMode READ isDesktopMode )
public:
static constexpr auto applicationOrganizationName = "matzman666";
@@ -69,8 +69,8 @@ private:
QPoint m_ptLastMouse;
Qt::MouseButtons m_lastMouseButtons = 0;
bool desktopMode;
bool noSound;
bool m_desktopMode;
bool m_noSound;
QUrl m_runtimePathUrl;
@@ -133,7 +133,7 @@ public:
bool isDesktopMode()
{
return desktopMode;
return m_desktopMode;
};
utils::ChaperoneUtils& chaperoneUtils() noexcept