Mercurial > hg > easyhg
comparison src/mainwindow.cpp @ 618:54ca6a0e9aef
URL fix
author | Chris Cannam |
---|---|
date | Tue, 03 Jul 2012 20:09:46 +0100 |
parents | 825a457f6415 |
children | 4f7ca2d192df |
comparison
equal
deleted
inserted
replaced
601:2985c2a90146 | 618:54ca6a0e9aef |
---|---|
3138 QSettings settings; | 3138 QSettings settings; |
3139 settings.beginGroup("NewerVersionWarning"); | 3139 settings.beginGroup("NewerVersionWarning"); |
3140 QString tag = QString("version-%1-available-show").arg(version); | 3140 QString tag = QString("version-%1-available-show").arg(version); |
3141 if (settings.value(tag, true).toBool()) { | 3141 if (settings.value(tag, true).toBool()) { |
3142 QString title(tr("Newer version available")); | 3142 QString title(tr("Newer version available")); |
3143 QString text(tr("<h3>Newer version available</h3><p>You are using version %1 of EasyMercurial, but version %3 is now available.</p><p>Please see the <a href=\"http://easymercurial.org/\">EasyMercurial website</a> for more information.</p>").arg(EASYHG_VERSION).arg(version)); | 3143 QString text(tr("<h3>Newer version available</h3><p>You are using version %1 of EasyMercurial, but version %3 is now available.</p><p>Please see the <a href=\"http://easyhg.org/\">EasyMercurial website</a> for more information.</p>").arg(EASYHG_VERSION).arg(version)); |
3144 QMessageBox::information(this, title, text); | 3144 QMessageBox::information(this, title, text); |
3145 settings.setValue(tag, false); | 3145 settings.setValue(tag, false); |
3146 } | 3146 } |
3147 settings.endGroup(); | 3147 settings.endGroup(); |
3148 } | 3148 } |