mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: replace function static variable by member variable
Global variables are evil. In this case not a problem, since this is a singleton anyway. However, it is bad style and does unnecessary thread synchronization. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
510f623c77
commit
1cff14fa7f
2 changed files with 10 additions and 8 deletions
|
@ -87,5 +87,7 @@ private:
|
|||
double m_titlePointSize;
|
||||
|
||||
QString m_currentTheme;
|
||||
|
||||
bool m_needSignals;
|
||||
};
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue