From 3dc206dc2b11d4d082d27d998856a179553a4622 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Mon, 5 Dec 2022 19:31:17 -0500 Subject: [PATCH] More unneeded stuff removed. --- q65w/mainwindow.cpp | 11 ----------- q65w/mainwindow.h | 8 +------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/q65w/mainwindow.cpp b/q65w/mainwindow.cpp index 2df35beb4..28d426d0e 100644 --- a/q65w/mainwindow.cpp +++ b/q65w/mainwindow.cpp @@ -93,9 +93,6 @@ MainWindow::MainWindow(QWidget *parent) : } }); - connect(&proc_editor, SIGNAL(error(QProcess::ProcessError)), - this, SLOT(editor_error())); - connect(m_gui_timer, &QTimer::timeout, this, &MainWindow::guiUpdate); m_waterfallAvg = 1; @@ -124,7 +121,6 @@ MainWindow::MainWindow(QWidget *parent) : m_udpPort=50004; m_adjustIQ=0; m_applyIQcal=0; - m_colors="000066ff0000ffff00969696646464"; m_nsave=0; m_modeJT65=0; m_modeQ65=0; @@ -312,7 +308,6 @@ void MainWindow::writeSettings() settings.setValue("GainY",(double)m_gainy); settings.setValue("PhaseX",(double)m_phasex); settings.setValue("PhaseY",(double)m_phasey); - settings.setValue("Colors",m_colors); settings.setValue("MaxDrift",ui->sbMaxDrift->value()); } @@ -393,7 +388,6 @@ void MainWindow::readSettings() m_gainy=settings.value("GainY",1.0).toFloat(); m_phasex=settings.value("PhaseX",0.0).toFloat(); m_phasey=settings.value("PhaseY",0.0).toFloat(); - m_colors=settings.value("Colors","000066ff0000ffff00969696646464").toString(); if(!ui->actionLinrad->isChecked() && !ui->actionCuteSDR->isChecked() && !ui->actionAFMHot->isChecked() && !ui->actionBlue->isChecked()) { @@ -1450,11 +1444,6 @@ void MainWindow::on_NBslider_valueChanged(int n) m_NBslider=n; } -void MainWindow::on_actionFUNcube_Dongle_triggered() -{ - proc_qthid.start (QDir::toNativeSeparators(m_appDir + "/qthid"), QStringList {}); -} - bool MainWindow::isGrid4(QString g) { if(g.length()!=4) return false; diff --git a/q65w/mainwindow.h b/q65w/mainwindow.h index f32759f80..a1d1df96d 100644 --- a/q65w/mainwindow.h +++ b/q65w/mainwindow.h @@ -87,7 +87,6 @@ private slots: void on_NBslider_valueChanged(int value); void on_actionAFMHot_triggered(); void on_actionBlue_triggered(); - void on_actionFUNcube_Dongle_triggered(); void on_actionQ65A_triggered(); void on_actionQ65B_triggered(); void on_actionQ65C_triggered(); @@ -165,8 +164,6 @@ private: QRect m_wideGraphGeom; QLabel* lab1; // labels in status bar - QLabel* lab2; - QLabel* lab3; QLabel* lab4; QLabel* lab5; QLabel* lab6; @@ -180,9 +177,6 @@ private: QFutureWatcher* watcher2; QProcess proc_m65; - QProcess proc_qthid; - QProcess proc_editor; - QString m_path; QString m_pbdecoding_style1; @@ -198,7 +192,7 @@ private: QString m_palette; QString m_dateTime; QString m_mode; - QString m_colors; + QString m_colors; //Why still needed? QString m_editorCommand; QString m_modeTx;