File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ AboutWidget::AboutWidget(Device *device, QWidget *parent)
48
48
49
49
// Check if eth0 is active (/sys/class/net/eth0/carrier will output 1 if eth0 is active and 0 if it is not)
50
50
QStringList arguments;
51
- arguments << " /sys/class/net/eth0 /carrier" ;
51
+ arguments << " /sys/class/net/eno1 /carrier" ;
52
52
53
53
QProcess *myProcess = new QProcess (parent);
54
54
myProcess->start (" cat" , arguments);
@@ -272,15 +272,16 @@ void AboutWidget::eventModeBackground(int checked)
272
272
emit eventModeDisabled ();
273
273
NetworkManager::ref ().enableAP ();
274
274
}
275
- ui->toggleSwitch ->setEnabled (true );
276
- QTimer::singleShot (2000 , this , [this ]() {
275
+
276
+ QTimer::singleShot (3000 , this , [this ]()
277
+ {
277
278
if (msgBox)
278
279
{
279
280
msgBox->hide ();
280
281
delete msgBox;
281
282
msgBox = nullptr ;
282
283
}
283
- });
284
+ ui-> toggleSwitch -> setEnabled ( true ); });
284
285
}
285
286
286
287
void AboutWidget::developerList ()
You can’t perform that action at this time.
0 commit comments