Revert "Added clock and UTC toggle."

This reverts commit 314d78ad05.
monitor
Roeland Jansen 2022-01-12 19:19:04 +01:00
rodzic 1667df89ba
commit 942d7beb99
3 zmienionych plików z 3 dodań i 17 usunięć

Wyświetl plik

@ -4566,15 +4566,8 @@ void wfmain::setRadioTimeDatePrep()
if(!waitingToSetTimeDate)
{
// 1: Find the current time and date
QDateTime now;
if(ui->useUTCChk->isChecked())
{
now = QDateTime::currentDateTimeUtc();
now.setTime(QTime::currentTime());
} else {
now = QDateTime::currentDateTime();
now.setTime(QTime::currentTime());
}
QDateTime now = QDateTime::currentDateTime();
now.setTime(QTime::currentTime());
int second = now.time().second();
@ -5512,11 +5505,6 @@ void wfmain::receiveStateInfo(rigstate* state)
rigState = state;
}
void wfmain::on_setClockBtn_clicked()
{
setRadioTimeDatePrep();
}
// --- DEBUG FUNCTION ---
void wfmain::on_debugBtn_clicked()
{

Wyświetl plik

@ -506,8 +506,6 @@ private slots:
void on_settingsList_currentRowChanged(int currentRow);
void on_setClockBtn_clicked();
private:
Ui::wfmain *ui;
void closeEvent(QCloseEvent *event);

Wyświetl plik

@ -2066,7 +2066,7 @@
<item>
<widget class="QStackedWidget" name="settingsStack">
<property name="currentIndex">
<number>2</number>
<number>4</number>
</property>
<widget class="QWidget" name="radioAccess">
<layout class="QVBoxLayout" name="verticalLayout_21">