| 149 | } |
| 150 | |
| 151 | QString 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 | |
| 170 | void ArchiveHintBox( |
| 171 | not_null<Ui::GenericBox*> box, |
no test coverage detected