removed each time new version notification

This commit is contained in:
John Preston 2014-12-21 12:45:43 +03:00
parent 92d28ca6ac
commit 6e969d5e85

View file

@ -695,9 +695,9 @@ void Application::startApp() {
}
QNetworkProxyFactory::setUseSystemConfiguration(true);
if (Local::oldMapVersion() < AppVersion || true) {
if (Local::oldMapVersion() < AppVersion) {
psRegisterCustomScheme();
if (Local::oldMapVersion() && Local::oldMapVersion() < 7003 || true) {
if (Local::oldMapVersion() && Local::oldMapVersion() < 7003) {
QString versionFeatures(lng_new_version7003(lt_version, QString::fromStdWString(AppVersionStr), lt_link, qsl("https://desktop.telegram.org/#changelog")));
if (!versionFeatures.isEmpty()) {
window->serviceNotification(versionFeatures);