summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/usb/usbrun.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings2/usb/usbrun.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/usb/usbrun.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/settings/networksettings2/usb/usbrun.cpp b/noncore/settings/networksettings2/usb/usbrun.cpp
index 763644e..4082f7f 100644
--- a/noncore/settings/networksettings2/usb/usbrun.cpp
+++ b/noncore/settings/networksettings2/usb/usbrun.cpp
@@ -11,5 +11,5 @@ State_t USBRun::detectState( void ) {
// up : card found and assigned to us and up
- NodeCollection * NC = nodeCollection();
+ NetworkSetup * NC = networkSetup();
QString S = QString( "/tmp/profile-%1.up" ).arg(NC->number());
System & Sys = NSResources->system();
@@ -62,5 +62,5 @@ State_t USBRun::detectState( void ) {
}
-QString USBRun::setMyState( NodeCollection * NC, Action_t A, bool ) {
+QString USBRun::setMyState( NetworkSetup * NC, Action_t, bool ) {
InterfaceInfo * I = getInterface();
@@ -98,9 +98,9 @@ InterfaceInfo * USBRun::getInterface( void ) {
) {
// this is a USB card
- if( Run->assignedConnection() == netNode()->connection() ) {
+ if( Run->assignedToNetworkSetup() == netNode()->networkSetup() ) {
// assigned to us
return Run;
} else if( ! Run->IsUp &&
- Run->assignedConnection() == 0 ) {
+ Run->assignedToNetworkSetup() == 0 ) {
// free
best = Run;