summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp16
-rw-r--r--src/mainwindow.h2
2 files changed, 9 insertions, 9 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index d6f874f3..5d8002bd 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -724,7 +724,7 @@ void MainWindow::createEndorseWidget()
buttonMenu->addAction(endorseAction);
QAction *wontEndorseAction = new QAction(tr("Won't Endorse"), buttonMenu);
- connect(wontEndorseAction, SIGNAL(triggered()), this, SLOT(on_actionWontEndorseMO_triggered()));
+ connect(wontEndorseAction, SIGNAL(triggered()), this, SLOT(wontEndorse()));
buttonMenu->addAction(wontEndorseAction);
}
@@ -5080,6 +5080,13 @@ void MainWindow::notEndorsedYet()
}
+void MainWindow::wontEndorse()
+{
+ Settings::instance().directInterface().setValue("wont_endorse_MO", true);
+ ui->actionEndorseMO->setVisible(false);
+}
+
+
void MainWindow::on_dataTree_customContextMenuRequested(const QPoint &pos)
{
QTreeWidget *dataTree = findChild<QTreeWidget*>("dataTree");
@@ -5141,13 +5148,6 @@ void MainWindow::on_actionEndorseMO_triggered()
}
-void MainWindow::on_actionWontEndorseMO_triggered()
-{
- Settings::instance().directInterface().setValue("wont_endorse_MO", true);
- ui->actionEndorseMO->setVisible(false);
-}
-
-
void MainWindow::updateDownloadListDelegate()
{
if (m_OrganizerCore.settings().compactDownloads()) {
diff --git a/src/mainwindow.h b/src/mainwindow.h
index b041b65e..d19cd6a4 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -483,6 +483,7 @@ private slots:
void motdReceived(const QString &motd);
void notEndorsedYet();
+ void wontEndorse();
void originModified(int originID);
@@ -601,7 +602,6 @@ private slots: // ui slots
void on_actionSettings_triggered();
void on_actionUpdate_triggered();
void on_actionEndorseMO_triggered();
- void on_actionWontEndorseMO_triggered();
void on_bsaList_customContextMenuRequested(const QPoint &pos);
void on_clearFiltersButton_clicked();