kopia lustrzana https://gitlab.com/eliggett/wfview
rodzic
1667df89ba
commit
942d7beb99
16
wfmain.cpp
16
wfmain.cpp
|
@ -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()
|
||||
{
|
||||
|
|
2
wfmain.h
2
wfmain.h
|
@ -506,8 +506,6 @@ private slots:
|
|||
|
||||
void on_settingsList_currentRowChanged(int currentRow);
|
||||
|
||||
void on_setClockBtn_clicked();
|
||||
|
||||
private:
|
||||
Ui::wfmain *ui;
|
||||
void closeEvent(QCloseEvent *event);
|
||||
|
|
|
@ -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">
|
||||
|
|
Ładowanie…
Reference in New Issue