mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-19 00:15:21 +01:00
Embedded: fix network detection
This commit is contained in:
parent
ebe72a4b16
commit
8c9de2d78c
7 changed files with 188 additions and 6 deletions
|
@ -347,6 +347,7 @@ int main(int argc, char *argv[])
|
|||
qmlwindow->connect(&imageWriter, SIGNAL(finalizing()), qmlwindow, SLOT(onFinalizing()));
|
||||
qmlwindow->connect(&imageWriter, SIGNAL(networkOnline()), qmlwindow, SLOT(fetchOSlist()));
|
||||
qmlwindow->connect(&imageWriter, SIGNAL(osListPrepared()), qmlwindow, SLOT(onOsListPrepared()));
|
||||
qmlwindow->connect(&imageWriter, SIGNAL(networkInfo(QVariant)), qmlwindow, SLOT(onNetworkInfo(QVariant)));
|
||||
|
||||
#ifndef QT_NO_WIDGETS
|
||||
/* Set window position */
|
||||
|
@ -375,7 +376,8 @@ int main(int argc, char *argv[])
|
|||
qmlwindow->setProperty("y", y);
|
||||
#endif
|
||||
|
||||
imageWriter.beginOSListFetch();
|
||||
if (imageWriter.isOnline())
|
||||
imageWriter.beginOSListFetch();
|
||||
|
||||
int rc = app.exec();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue