mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-07-13 06:14:11 -04:00
Code cleanups related to Echo mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5527 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
@@ -20,11 +20,6 @@ EchoGraph::EchoGraph(QSettings * settings, QWidget *parent) :
|
||||
ui->echoPlot->setMaximumHeight(800);
|
||||
|
||||
//Restore user's settings
|
||||
/*
|
||||
QString inifile(QApplication::applicationDirPath());
|
||||
inifile += "/emecho.ini";
|
||||
QSettings settings(inifile, QSettings::IniFormat);
|
||||
*/
|
||||
m_settings->beginGroup("EchoGraph");
|
||||
restoreGeometry (m_settings->value ("geometry", saveGeometry ()).toByteArray ());
|
||||
ui->echoPlot->setPlotZero(m_settings->value("PlotZero", 0).toInt());
|
||||
@@ -52,11 +47,6 @@ void EchoGraph::closeEvent (QCloseEvent * e)
|
||||
void EchoGraph::saveSettings()
|
||||
{
|
||||
//Save user's settings
|
||||
/*
|
||||
QString inifile(QApplication::applicationDirPath());
|
||||
inifile += "/emecho.ini";
|
||||
QSettings settings(inifile, QSettings::IniFormat);
|
||||
*/
|
||||
m_settings->beginGroup("EchoGraph");
|
||||
m_settings->setValue ("geometry", saveGeometry ());
|
||||
m_settings->setValue("PlotZero",ui->echoPlot->m_plotZero);
|
||||
|
||||
Reference in New Issue
Block a user