[pim/trojita] src/Gui: Remove "Donate to the project" menu entry

Espen Sandøy Hustad <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit f0dd3feac6e2f68dfb52c3bc9f99f9fcc7884a52 by Espen Sandøy Hustad.
Committed on 17/07/2026 at 16:00.
Pushed by carlschwan into branch 'master'.

Remove "Donate to the project" menu entry

Because it no longer works, redirects to PayPal which
errors out with: "This organization can't accept
donations right now"

M  +0    -9    src/Gui/Window.cpp
M  +0    -2    src/Gui/Window.h

https://invent.kde.org/pim/trojita/-/commit/f0dd3feac6e2f68dfb52c3bc9f99f9fcc7884a52

diff --git a/src/Gui/Window.cpp b/src/Gui/Window.cpp
index 1005c6528..7e4932921 100644
--- a/src/Gui/Window.cpp
+++ b/src/Gui/Window.cpp
@@ -598,9 +598,6 @@ void MainWindow::createActions()
     aboutTrojita = new QAction(tr("&About Trojitá..."), this);
     connect(aboutTrojita, &QAction::triggered, this, &MainWindow::slotShowAboutTrojita);
 
-    donateToTrojita = new QAction(tr("&Donate to the project"), this);
-    connect(donateToTrojita, &QAction::triggered, this, &MainWindow::slotDonateToTrojita);
-
     connectModelActions();
 
     m_composeMenu = new QMenu(tr("Compose Mail"), this);
@@ -725,7 +722,6 @@ void MainWindow::createMenus()
         ADD_ACTION(applicationMenu, ShortcutHandler::instance()->shortcutConfigAction());
         applicationMenu->addSeparator();
         ADD_ACTION(applicationMenu, aboutTrojita);
-        ADD_ACTION(applicationMenu, donateToTrojita);
         applicationMenu->addSeparator();
         ADD_ACTION(applicationMenu, exitAction);
 
@@ -2186,11 +2182,6 @@ void MainWindow::slotShowAboutTrojita()
     widget->show();
 }
 
-void MainWindow::slotDonateToTrojita()
-{
-    QDesktopServices::openUrl(QStringLiteral("https://sourceforge.net/p/trojita/donate/"));
-}
-
 void MainWindow::slotSaveCurrentMessageBody()
 {
     Q_FOREACH(const QModelIndex &item, msgListWidget->tree->selectionModel()->selectedIndexes()) {
diff --git a/src/Gui/Window.h b/src/Gui/Window.h
index 007de0c68..a31199483 100644
--- a/src/Gui/Window.h
+++ b/src/Gui/Window.h
@@ -179,7 +179,6 @@ private slots:
     void showConnectionStatus(uint parserId, Imap::ConnectionState state);
     void slotShowLinkTarget(const QString &link);
     void slotShowAboutTrojita();
-    void slotDonateToTrojita();
 
     void slotSaveCurrentMessageBody();
     void slotViewMsgSource();
@@ -320,7 +319,6 @@ private:
     QAction *createTopMailbox;
     QAction *deleteCurrentMailbox;
     QAction *aboutTrojita;
-    QAction *donateToTrojita;
 
     QAction *tag1;
     QAction *tag2;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.