diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-05-13 16:16:20 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-05-13 17:33:32 -0400 |
| commit | 222fe58e2520bf9fc2c487ff4c8ada64a1e8d5a8 (patch) | |
| tree | f1b0466302a38873d4d8bd33b8ad7f64e9e52542 /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | 74d561085cf911bbad6949532b46dbd92634c63f (diff) | |
DolphinQt2: Add missing Q_OBJECT macro to all QObject-related classes missing it
Without this macro, if any signals or slots were attempted to be used,
they wouldn't work; neither would various other features of the Qt
meta-object system. This can also lead to weird behavior in other
circumstances. Qt's documentation specifically states:
"Therefore, we strongly recommend that all subclasses of QObject use the
Q_OBJECT macro regardless of whether or not they actually use signals,
slots, and properties."
on its page for "The Meta-Object System", which can be seen here:
https://doc.qt.io/qt-5/metaobjects.html
Let's opt for "always do the right thing", and keep the code extensible
for the future and not have random things blow up on us.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
0 files changed, 0 insertions, 0 deletions
