mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-23 18:02:29 -04:00
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:
parent
74f35bab0d
commit
e5b70db68e
@ -1,4 +1,4 @@
|
|||||||
//--------------------------------------------------------------- MainWindow
|
//-------------------------------------------------------------- MainWindow
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "ui_mainwindow.h"
|
#include "ui_mainwindow.h"
|
||||||
|
|
||||||
|
@ -26,9 +26,6 @@ WideGraph::WideGraph(QSettings * settings, QWidget *parent) :
|
|||||||
connect(ui->widePlot, SIGNAL(setFreq1(int,int)),this,
|
connect(ui->widePlot, SIGNAL(setFreq1(int,int)),this,
|
||||||
SLOT(setFreq2(int,int)));
|
SLOT(setFreq2(int,int)));
|
||||||
|
|
||||||
connect (ui->cbFlatten, SIGNAL(toggled(bool)),this,
|
|
||||||
SLOT(on_cbFlatten_toggled(bool)));
|
|
||||||
|
|
||||||
//Restore user's settings
|
//Restore user's settings
|
||||||
m_settings->beginGroup("WideGraph");
|
m_settings->beginGroup("WideGraph");
|
||||||
restoreGeometry (m_settings->value ("geometry", saveGeometry ()).toByteArray ());
|
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)
|
void WideGraph::on_cbFlatten_toggled(bool b)
|
||||||
{
|
{
|
||||||
m_bFlatten=b;
|
m_bFlatten=b;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool WideGraph::flatten()
|
bool WideGraph::flatten()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user