diff options
author | Petr Mrázek <peterix@gmail.com> | 2021-11-23 01:25:24 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2021-11-23 01:25:24 +0100 |
commit | b49987e8767b4d0076d62033b019507a8cbc801c (patch) | |
tree | 6069f9b66b95ac6dabfe2901eedd0f634393f8cc /launcher/QObjectPtr.h | |
parent | 27e328c044eb8838604426db8cd3c83ad09a0ced (diff) | |
download | PrismLauncher-b49987e8767b4d0076d62033b019507a8cbc801c.tar.gz PrismLauncher-b49987e8767b4d0076d62033b019507a8cbc801c.tar.bz2 PrismLauncher-b49987e8767b4d0076d62033b019507a8cbc801c.zip |
NOISSUE fix fix fix the accounts again
Diffstat (limited to 'launcher/QObjectPtr.h')
-rw-r--r-- | launcher/QObjectPtr.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/launcher/QObjectPtr.h b/launcher/QObjectPtr.h index 0ff51136..57974939 100644 --- a/launcher/QObjectPtr.h +++ b/launcher/QObjectPtr.h @@ -77,6 +77,12 @@ public: { return m_ptr; } + bool operator==(const shared_qobject_ptr<T>& other) { + return m_ptr == other.m_ptr; + } + bool operator!=(const shared_qobject_ptr<T>& other) { + return m_ptr != other.m_ptr; + } private: std::shared_ptr <T> m_ptr; |