aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-09-21 00:03:15 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-09-21 00:03:15 -0400
commite2776411c72723e791b088b5cf37d4d67d42b0ec (patch)
treeed6f6128e3b60a64606ac94e3eda695f46e88e37
parente2915f0b5d82f00ffb3cd5e39d5f8fe8e4b4595f (diff)
downloaddeduper-e2776411c72723e791b088b5cf37d4d67d42b0ec.tar.xz
Two extra useless menu items.
-rw-r--r--qdeduper/mingui.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/qdeduper/mingui.cpp b/qdeduper/mingui.cpp
index 7da3dde..f2de718 100644
--- a/qdeduper/mingui.cpp
+++ b/qdeduper/mingui.cpp
@@ -283,7 +283,11 @@ void DeduperMainWindow::setup_menu()
mark->addAction("Review Marked Images");
help->addAction("Help");
- help->addAction("About");
+ help->addSeparator();
+ QAction *about = help->addAction("About");
+ QObject::connect(about, &QAction::triggered, [this]{QMessageBox::about(this, "About Deduper", "Deduper\nFind similar images on your local filesystem.\n\n0.0.0\nChris Xiong 2022\nMPL-2.0");});
+ QAction *aboutqt = help->addAction("About Qt");
+ QObject::connect(aboutqt, &QAction::triggered, [this]{QMessageBox::aboutQt(this);});
tb = new QToolBar(this);
this->addToolBar(tb);