From 1b438461967b51ae82a97a7749539b4125664b5c Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Sun, 13 Aug 2023 20:16:11 +0200 Subject: [PATCH] Remove obsolete quotientMinorVersion property --- src/controller.cpp | 6 ------ src/controller.h | 11 ----------- 2 files changed, 17 deletions(-) diff --git a/src/controller.cpp b/src/controller.cpp index 101c92996..08612fa66 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -625,12 +625,6 @@ int Controller::activeConnectionIndex() const return result - m_accountRegistry.accounts().begin(); } -int Controller::quotientMinorVersion() const -{ - // TODO libQuotient 0.7: Replace with version function from libQuotient - return 7; -} - bool Controller::isFlatpak() const { #ifdef NEOCHAT_FLATPAK diff --git a/src/controller.h b/src/controller.h index 21e265460..b5abb7c75 100644 --- a/src/controller.h +++ b/src/controller.h @@ -87,15 +87,6 @@ class Controller : public QObject */ Q_PROPERTY(bool isOnline READ isOnline NOTIFY isOnlineChanged) - /** - * @brief The current minor version number of libQuotient being used. - * - * This is the only way to gate NeoChat features by libQuotient version in QML. - * - * @note No major version because libQuotient doesn't have any; All are 0.x. - */ - Q_PROPERTY(int quotientMinorVersion READ quotientMinorVersion CONSTANT) - /** * @brief Whether NeoChat is running as a flatpak. * @@ -196,8 +187,6 @@ public: */ Q_INVOKABLE void setApplicationProxy(); - int quotientMinorVersion() const; - bool isFlatpak() const; /**