Browse Source
Merge pull request #42 from MyHush/denio
fix Github links
pull/46/head
Denio
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
4 deletions
-
src/controller.cpp
-
src/mainwindow.cpp
|
|
@ -658,7 +658,7 @@ void Controller::checkForUpdate(bool silent) { |
|
|
|
if (!zrpc->haveConnection()) |
|
|
|
return noConnection(); |
|
|
|
|
|
|
|
QUrl cmcURL("https://api.github.com/repos/DenioD/SilentDragonLite/releases"); |
|
|
|
QUrl cmcURL("https://api.github.com/repos/MyHush/SilentDragonLite/releases"); |
|
|
|
|
|
|
|
QNetworkRequest req; |
|
|
|
req.setUrl(cmcURL); |
|
|
@ -706,7 +706,7 @@ void Controller::checkForUpdate(bool silent) { |
|
|
|
.arg(currentVersion.toString()), |
|
|
|
QMessageBox::Yes, QMessageBox::Cancel); |
|
|
|
if (ans == QMessageBox::Yes) { |
|
|
|
QDesktopServices::openUrl(QUrl("https://github.com/DenioD/SilentDragonLite/releases")); |
|
|
|
QDesktopServices::openUrl(QUrl("https://github.com/MyHush/SilentDragonLite/releases")); |
|
|
|
} else { |
|
|
|
// If the user selects cancel, don't bother them again for this version
|
|
|
|
s.setValue("update/lastversion", maxVersion.toString()); |
|
|
|
|
|
@ -59,7 +59,7 @@ MainWindow::MainWindow(QWidget *parent) : |
|
|
|
|
|
|
|
// File a bug
|
|
|
|
QObject::connect(ui->actionFile_a_bug, &QAction::triggered, [=]() { |
|
|
|
QDesktopServices::openUrl(QUrl("https://github.com/DenioD/SilentDragonLite/issues/new")); |
|
|
|
QDesktopServices::openUrl(QUrl("https://github.com/MyHush/SilentDragonLite/issues/new")); |
|
|
|
}); |
|
|
|
|
|
|
|
// Set up check for updates action
|
|
|
@ -529,7 +529,7 @@ void MainWindow::donate() { |
|
|
|
ui->Amount1->setText("0.00"); |
|
|
|
ui->MemoTxt1->setText(tr("Some feedback about SilentDragonlite or Hush...")); |
|
|
|
|
|
|
|
ui->statusBar->showMessage(tr("Send Duke some private and shielded feedback about") % Settings::getTokenName() % tr(" or SilentDragonLite")); |
|
|
|
ui->statusBar->showMessage(tr("Send DenioD some private and shielded feedback about") % Settings::getTokenName() % tr(" or SilentDragonLite")); |
|
|
|
|
|
|
|
// And switch to the send tab.
|
|
|
|
ui->tabWidget->setCurrentIndex(1); |
|
|
|