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; /**