diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-11-02 16:12:24 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-11-03 17:14:57 +0300 |
commit | 3ea52cc67d601922f5336194613b81eadd10a941 (patch) | |
tree | bec2e59e52d82c07d2b7178ab5bcd62b6be9154e /src/gui/socketapi | |
parent | 8b743376b1d230b76558703dfa70c289c64b464c (diff) |
Use QVersionNumber for our own version
Diffstat (limited to 'src/gui/socketapi')
-rw-r--r-- | src/gui/socketapi/socketapi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/socketapi/socketapi.cpp b/src/gui/socketapi/socketapi.cpp index 9e33dce54..37750e90a 100644 --- a/src/gui/socketapi/socketapi.cpp +++ b/src/gui/socketapi/socketapi.cpp @@ -575,7 +575,7 @@ void SocketApi::command_MANAGE_PUBLIC_LINKS(const QString &localFile, SocketList void SocketApi::command_VERSION(const QString &, SocketListener *listener) { - listener->sendMessage(QStringLiteral("VERSION:%1:%2").arg(OCC::Version::string(), QStringLiteral(MIRALL_SOCKET_API_VERSION))); + listener->sendMessage(QStringLiteral("VERSION:%1:%2").arg(OCC::Version::versionWithBuildNumber().toString(), QStringLiteral(MIRALL_SOCKET_API_VERSION))); } void SocketApi::command_SHARE_MENU_TITLE(const QString &, SocketListener *listener) |