MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / currentVersionText

Function currentVersionText

Telegram/SourceFiles/boxes/about_box.cpp:151–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151QString currentVersionText() {
152 auto result = QString::fromLatin1(AppVersionStr);
153 if (cAlphaVersion()) {
154 result += u" alpha %1"_q.arg(cAlphaVersion() % 1000);
155 } else if (AppBetaVersion) {
156 result += " beta";
157 }
158 if (Platform::IsWindows64Bit()) {
159 result += " x64";
160 } else if (Platform::IsWindowsARM64()) {
161 result += " arm64";
162 }
163 result += QString("|v%1").arg(UpstreamVersion);
164#ifdef _DEBUG
165 result += " DEBUG";
166#endif
167 return result;
168}
169
170void ArchiveHintBox(
171 not_null<Ui::GenericBox*> box,

Callers 4

MainMenuMethod · 0.85
AboutBoxFunction · 0.85
BuildUpdateSectionFunction · 0.85
SetupUpdateFunction · 0.85

Calls 1

QStringClass · 0.50

Tested by

no test coverage detected