Merge pull request #662 from manongjohn/disable_version_update_check

Disable version update check
This commit is contained in:
manongjohn 2021-04-12 14:27:50 -04:00 committed by GitHub
commit 3e4842dd1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -756,8 +756,8 @@ int main(int argc, char *argv[]) {
a.setQuitOnLastWindowClosed(false);
// a.connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()));
if (Preferences::instance()->isLatestVersionCheckEnabled())
w.checkForUpdates();
// if (Preferences::instance()->isLatestVersionCheckEnabled())
// w.checkForUpdates();
DvDirModel::instance()->forceRefresh();
// Disable the layout temporarily to avoid redistribution of panes that is

View file

@ -1437,7 +1437,7 @@ extern const char *applicationVersion;
void MainWindow::checkForUpdates() {
// Since there is only a single version of Tahoma, we can do a simple check
// against a string
QString updateUrl("http://tahoma2d.org/files/tahoma-version.txt");
QString updateUrl("https://tahoma2d.org/files/tahoma-version.txt");
m_updateChecker = new UpdateChecker(updateUrl);
connect(m_updateChecker, SIGNAL(done(bool)), this,

View file

@ -1911,7 +1911,7 @@ QWidget* PreferencesPopup::createVersionControlPage() {
insertUI(SVNEnabled, lay);
insertUI(automaticSVNFolderRefreshEnabled, lay);
insertUI(latestVersionCheckEnabled, lay);
// insertUI(latestVersionCheckEnabled, lay);
lay->setRowStretch(lay->rowCount(), 1);
insertFootNote(lay);