summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/profile/profileedit.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings2/profile/profileedit.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/profile/profileedit.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/noncore/settings/networksettings2/profile/profileedit.cpp b/noncore/settings/networksettings2/profile/profileedit.cpp
index 88aab15..ad943fe 100644
--- a/noncore/settings/networksettings2/profile/profileedit.cpp
+++ b/noncore/settings/networksettings2/profile/profileedit.cpp
@@ -16,5 +16,9 @@ ProfileEdit::ProfileEdit( QWidget * Parent, ANetNodeInstance * TNNI ) :
+ II = TNNI->networkSetup()->assignedInterface();
+ Log(( "Interface %p %p %p: %d\n", II,
+ TNNI, TNNI->networkSetup(), (II) ? II->IsUp : 0 ));
+
NNI = TNNI;
Dev = NNI->runtime()->device();
- if( ( II = NNI->connection()->assignedInterface() ) ) {
+ if( ( II = NNI->networkSetup()->assignedInterface() ) ) {
@@ -79,3 +83,3 @@ bool ProfileEdit::commit( ProfileData & Data ) {
void ProfileEdit::SLOT_Refresh( void ) {
- InterfaceInfo * II = NNI->connection()->assignedInterface();
+ InterfaceInfo * II = NNI->networkSetup()->assignedInterface();
NSResources->system().refreshStatistics( *II );