From e5b70db68e4b6f27da6dc2cd0ffe95d8c7e7a34c Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Fri, 17 Jan 2014 15:42:39 +0000 Subject: [PATCH] The explicit "connect" to on_cbFlatten_toggled seems not to be needed. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3644 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 2 +- widegraph.cpp | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index ee9c1a8a6..1db1c4bdc 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1,4 +1,4 @@ -//--------------------------------------------------------------- MainWindow +//-------------------------------------------------------------- MainWindow #include "mainwindow.h" #include "ui_mainwindow.h" diff --git a/widegraph.cpp b/widegraph.cpp index dc198e3fb..a2cb99a55 100644 --- a/widegraph.cpp +++ b/widegraph.cpp @@ -26,9 +26,6 @@ WideGraph::WideGraph(QSettings * settings, QWidget *parent) : connect(ui->widePlot, SIGNAL(setFreq1(int,int)),this, SLOT(setFreq2(int,int))); - connect (ui->cbFlatten, SIGNAL(toggled(bool)),this, - SLOT(on_cbFlatten_toggled(bool))); - //Restore user's settings m_settings->beginGroup("WideGraph"); restoreGeometry (m_settings->value ("geometry", saveGeometry ()).toByteArray ()); @@ -356,7 +353,6 @@ void WideGraph::on_paletteComboBox_activated(const QString &palette) void WideGraph::on_cbFlatten_toggled(bool b) { m_bFlatten=b; - } bool WideGraph::flatten()