summaryrefslogtreecommitdiffstats
path: root/src/fbgui/ndgui.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2012-02-01 15:46:36 +0100
committerJonathan Bauer2012-02-01 15:46:36 +0100
commit3084244f6af4492582c05d27819b6aa61e36c688 (patch)
treec148c26ed066171fef36a67b93ad7afd96bea8a4 /src/fbgui/ndgui.cpp
parentadapted existing classes to reflect changes (diff)
downloadfbgui-3084244f6af4492582c05d27819b6aa61e36c688.tar.gz
fbgui-3084244f6af4492582c05d27819b6aa61e36c688.tar.xz
fbgui-3084244f6af4492582c05d27819b6aa61e36c688.zip
sysInfo gets interface name for MAC adress from networkdiscovery
Diffstat (limited to 'src/fbgui/ndgui.cpp')
-rw-r--r--src/fbgui/ndgui.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fbgui/ndgui.cpp b/src/fbgui/ndgui.cpp
index 34a3f2d..67bfa79 100644
--- a/src/fbgui/ndgui.cpp
+++ b/src/fbgui/ndgui.cpp
@@ -24,7 +24,7 @@ QString gServerIp("");
bool gAutoUp = true;
QString gSocketServerPath("");
QString gPathToDhcpExe("");
-
+QString interfaceName("");
/**
@@ -233,6 +233,7 @@ void ndgui::handleAllProcessesFinished() {
void ndgui::continueBoot(QString ifName) {
if (_networkDiscovery->checkConnectivity(ifName)) {
LOG4CXX_DEBUG(ndLogger, " continue with interface: " << ifName);
+ interfaceName = ifName;
emit initFbgui();
this->close();
} else {
@@ -248,6 +249,7 @@ void ndgui::continueBoot(QString ifName) {
*/
void ndgui::continueBootWithoutCheck(QString ifName) {
LOG4CXX_DEBUG(ndLogger, " continue with interface: " << ifName);
+ interfaceName = ifName;
emit initFbgui();
this->close();
}