Performing some minimal code cleanup
This commit is contained in:
parent
4064c70c26
commit
1a8d02fc89
@ -26,7 +26,7 @@ class QHostAddress;
|
|||||||
// Class Configuration
|
// Class Configuration
|
||||||
//
|
//
|
||||||
// Encapsulates the control, access and, persistence of user defined
|
// Encapsulates the control, access and, persistence of user defined
|
||||||
// settings for the wsjtx GUI. Setting values are accessed through a
|
// settings for the GUI. Setting values are accessed through a
|
||||||
// QDialog window containing concept orientated tab windows.
|
// QDialog window containing concept orientated tab windows.
|
||||||
//
|
//
|
||||||
// Responsibilities
|
// Responsibilities
|
||||||
@ -37,7 +37,7 @@ class QHostAddress;
|
|||||||
// farmed out to a separate thread since many of the rig control
|
// farmed out to a separate thread since many of the rig control
|
||||||
// functions are blocking.
|
// functions are blocking.
|
||||||
//
|
//
|
||||||
// All user settings required by the wsjtx GUI are exposed through
|
// All user settings required by the GUI are exposed through
|
||||||
// query methods. Settings only become visible once they have been
|
// query methods. Settings only become visible once they have been
|
||||||
// accepted by the user which is done by clicking the "OK" button on
|
// accepted by the user which is done by clicking the "OK" button on
|
||||||
// the settings dialog.
|
// the settings dialog.
|
||||||
|
@ -11,8 +11,7 @@ class QString;
|
|||||||
//
|
//
|
||||||
// Abstract Transceiver Interface
|
// Abstract Transceiver Interface
|
||||||
//
|
//
|
||||||
// This is the minimal generic interface to a rig as required by
|
// This is the minimal generic interface to a rig.
|
||||||
// wsjtx.
|
|
||||||
//
|
//
|
||||||
// Responsibilities
|
// Responsibilities
|
||||||
//
|
//
|
||||||
|
@ -3297,7 +3297,7 @@ void MainWindow::on_actionOpen_triggered() //Open File
|
|||||||
|
|
||||||
QString fname;
|
QString fname;
|
||||||
fname=QFileDialog::getOpenFileName(this, "Open File", m_path,
|
fname=QFileDialog::getOpenFileName(this, "Open File", m_path,
|
||||||
"WSJT Files (*.wav)");
|
"Audio Files (*.wav)");
|
||||||
if(!fname.isEmpty ()) {
|
if(!fname.isEmpty ()) {
|
||||||
m_path=fname;
|
m_path=fname;
|
||||||
int i1=fname.lastIndexOf("/");
|
int i1=fname.lastIndexOf("/");
|
||||||
@ -8448,7 +8448,7 @@ void MainWindow::locationChange (QString const& location)
|
|||||||
grid = grid.mid (5).trimmed ();
|
grid = grid.mid (5).trimmed ();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// TODO - support any other formats, e.g. latlong? Or have that conversion done external to wsjtx
|
// TODO - support any other formats, e.g. latlong? Or have that conversion done externally
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user