From 0d2e518000e2e1b771a897da819d63479084501a Mon Sep 17 00:00:00 2001 From: Albert S Date: Mon, 13 Jun 2022 21:55:14 +0200 Subject: [PATCH] mainwindow: Remove 'Open config in text editor' menu action Retired because we have a settings tabs now --- gui/mainwindow.cpp | 6 ------ gui/mainwindow.ui | 6 ------ 2 files changed, 12 deletions(-) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 6b4486c..752e1b9 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -192,12 +192,6 @@ void MainWindow::connectSignals() QMessageBox::about(this, "About looqs", html); }); - connect(ui->menuOpenConfigInTextEditorAction, &QAction::triggered, this, - [this](bool checked) - { - QSettings setting; - QDesktopServices::openUrl(setting.fileName()); - }); connect(ui->menuAboutQtAction, &QAction::triggered, this, [this](bool checked) { QMessageBox::aboutQt(this, "About Qt"); }); connect(ui->menuSyncIndexAction, &QAction::triggered, this, &MainWindow::startIndexSync); diff --git a/gui/mainwindow.ui b/gui/mainwindow.ui index ca819c1..7a98c18 100644 --- a/gui/mainwindow.ui +++ b/gui/mainwindow.ui @@ -496,7 +496,6 @@ looqs - @@ -509,11 +508,6 @@ About - - - Open config in text editor - - About Qt