Search/replace for dragonx

This commit is contained in:
fekt
2024-04-10 21:10:50 -04:00
parent 9ec9c8a68f
commit e1e0ac79cb
86 changed files with 253 additions and 259 deletions

View File

@@ -1580,7 +1580,7 @@ void Controller::checkForUpdate(bool silent)
if (!zrpc->haveConnection())
return noConnection();
QUrl giteaURL("https://git.hush.is/repos/hush/SilentDragonLite/releases");
QUrl giteaURL("https://git.hush.is/repos/dragonx/SilentDragonXLite/releases");
QNetworkRequest req;
req.setUrl(giteaURL);
@@ -1634,7 +1634,7 @@ void Controller::checkForUpdate(bool silent)
QMessageBox::Yes, QMessageBox::Cancel);
if (ans == QMessageBox::Yes)
{
QDesktopServices::openUrl(QUrl("https://git.hush.is/hush/SilentDragonLite/releases"));
QDesktopServices::openUrl(QUrl("https://git.hush.is/dragonx/SilentDragonXLite/releases"));
}
else
{
@@ -2033,20 +2033,20 @@ void Controller::shutdownhushd()
auto size = QSize(512,512);
if (theme == "Dark" || theme == "Midnight") {
QMovie *movie2 = new QMovie(":/img/res/silentdragonlite-animated-startup-dark.gif");;
QMovie *movie2 = new QMovie(":/img/res/silentdragonxlite-animated-startup-dark.gif");;
movie2->setScaledSize(size);
qDebug() << "Animation dark loaded";
connD.topIcon->setMovie(movie2);
movie2->start();
connD.status->setText(QObject::tr("Please wait for SilentDragonLite to exit"));
connD.status->setText(QObject::tr("Please wait for SilentDragonXLite to exit"));
connD.statusDetail->setText(QObject::tr("It may take several minutes"));
} else {
QMovie *movie1 = new QMovie(":/img/res/silentdragonlite-animated-startup-dark.gif");;
QMovie *movie1 = new QMovie(":/img/res/silentdragonxlite-animated-startup-dark.gif");;
movie1->setScaledSize(size);
qDebug() << "Animation light loaded";
connD.topIcon->setMovie(movie1);
movie1->start();
connD.status->setText(QObject::tr("Please wait for SilentDragonLite to exit"));
connD.status->setText(QObject::tr("Please wait for SilentDragonXLite to exit"));
connD.statusDetail->setText(QObject::tr("It may take several minutes"));
}