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
This commit is contained in:
Joe Taylor 2014-01-17 15:42:39 +00:00
parent 9a1c8e3e63
commit 3ded85c5e6
2 changed files with 1 additions and 5 deletions

View File

@ -1,4 +1,4 @@
//--------------------------------------------------------------- MainWindow
//-------------------------------------------------------------- MainWindow
#include "mainwindow.h"
#include "ui_mainwindow.h"

View File

@ -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()