]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
MainWindow: remove unused function
authortobtoht <thotbot@protonmail.com>
Fri, 11 Feb 2022 11:54:30 +0000 (12:54 +0100)
committertobtoht <thotbot@protonmail.com>
Mon, 14 Feb 2022 11:43:35 +0000 (12:43 +0100)
src/MainWindow.cpp
src/MainWindow.h

index dc813446fc2606372c4e22780b3d6052aa778fb7..f351812685bb9094c15b019e2d56098991f231ae 100644 (file)
@@ -1395,15 +1395,6 @@ void MainWindow::onSignedHashesReceived(QNetworkReply *reply, const QString &pla
     this->onCheckUpdatesComplete(version, binaryFilename, hash, signer);
 }
 
-void MainWindow::onShowDonationNag() {
-    auto msg = "Feather is a 100% community-sponsored endeavor. Please consider supporting "
-               "the project financially. Get rid of this message by donating any amount.";
-    int ret = QMessageBox::information(this, "Donate to Feather", msg, QMessageBox::Yes, QMessageBox::No);
-    if (ret == QMessageBox::Yes) {
-        this->donateButtonClicked();
-    }
-}
-
 void MainWindow::onInitiateTransaction() {
     m_statusDots = 0;
     m_constructingTransaction = true;
index ecff1b087d19683cbe7ceceb2c5a53c8e2790f4a..aa737ecd515d968f55f2470ed7513926cca0c547 100644 (file)
@@ -134,7 +134,6 @@ private slots:
     void onCheckUpdatesComplete(const QString &version, const QString &binaryFilename, const QString &hash, const QString &signer);
     void onShowUpdateCheck(const QString &version, const QString &binaryFilename, const QString &hash, const QString &signer);
     void onSignedHashesReceived(QNetworkReply *reply, const QString &platformTag, const QString &version);
-    void onShowDonationNag();
     void onInitiateTransaction();
     void onEndTransaction();
     void onCustomRestoreHeightSet(int height);