From 7450faaf1355af566515b9a156c704c6cd9a21ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 17 Sep 2023 12:56:41 +0200 Subject: [PATCH] NOISSUE fix unable to log in issue --- launcher/QObjectPtr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launcher/QObjectPtr.h b/launcher/QObjectPtr.h index 57974939..d52bfe77 100644 --- a/launcher/QObjectPtr.h +++ b/launcher/QObjectPtr.h @@ -77,10 +77,10 @@ public: { return m_ptr; } - bool operator==(const shared_qobject_ptr& other) { + bool operator==(const shared_qobject_ptr& other) const { return m_ptr == other.m_ptr; } - bool operator!=(const shared_qobject_ptr& other) { + bool operator!=(const shared_qobject_ptr& other) const { return m_ptr != other.m_ptr; }