File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2426,18 +2426,18 @@ void MainWindow::reloadSettings()
24262426 ui->tabSqlAreas ->setTabsClosable (Settings::getValue (" editor" , " close_button_on_tabs" ).toBool ());
24272427}
24282428
2429- void MainWindow::checkNewVersion (const bool silent )
2429+ void MainWindow::checkNewVersion (const bool automatic )
24302430{
24312431 // If the user tried to manually check for updates, clear the version value for which the user chose to ignore the notification
2432- if (!silent )
2432+ if (!automatic )
24332433 {
24342434 Settings::clearValue (" checkversion" , " ignmajor" );
24352435 Settings::clearValue (" checkversion" , " ignminor" );
24362436 Settings::clearValue (" checkversion" , " ignpatch" );
24372437 }
24382438
24392439 RemoteNetwork::get ().fetch (QUrl (" https://download.sqlitebrowser.org/currentrelease" ), RemoteNetwork::RequestTypeCustom,
2440- QString (), [this , silent ](const QByteArray& reply) {
2440+ QString (), [this , automatic ](const QByteArray& reply) {
24412441 QList<QByteArray> info = reply.split (' \n ' );
24422442 if (info.size () >= 2 )
24432443 {
@@ -2497,7 +2497,7 @@ void MainWindow::checkNewVersion(const bool silent)
24972497 }
24982498 else
24992499 {
2500- if (!silent )
2500+ if (!automatic )
25012501 QMessageBox::information (this , QApplication::applicationName (), tr (" You are using the latest version." ));
25022502 }
25032503 }
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ private slots:
213213 void saveSqlResultsAsJson ();
214214 void saveSqlResultsAsView ();
215215 void loadExtension ();
216- void checkNewVersion (const bool silent );
216+ void checkNewVersion (const bool automatic );
217217 void openLinkWiki () const ;
218218 void openLinkBugReport () const ;
219219 void openLinkFeatureRequest () const ;
You can’t perform that action at this time.
0 commit comments