Diffstat (limited to 'noncore/settings/networksettings2/profile') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/profile/profilerun.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/networksettings2/profile/profilerun.cpp b/noncore/settings/networksettings2/profile/profilerun.cpp index ab57a00..acb67bd 100644 --- a/noncore/settings/networksettings2/profile/profilerun.cpp +++ b/noncore/settings/networksettings2/profile/profilerun.cpp | |||
@@ -1,27 +1,27 @@ | |||
1 | #include <resources.h> | 1 | #include <resources.h> |
2 | 2 | ||
3 | #include "profilerun.h" | 3 | #include "profilerun.h" |
4 | 4 | ||
5 | State_t ProfileRun::detectState( void ) { | 5 | State_t ProfileRun::detectState( void ) { |
6 | if( Data->Disabled ) { | 6 | if( Data->Disabled ) { |
7 | return Disabled; | 7 | return Disabled; |
8 | } | 8 | } |
9 | return Unknown; | 9 | return Unknown; |
10 | } | 10 | } |
11 | 11 | ||
12 | QString ProfileRun::setMyState( NodeCollection * NC, Action_t A, bool ) { | 12 | QString ProfileRun::setMyState( NodeCollection * NC, Action_t A, bool ) { |
13 | owarn << "Profile " << Data->Disabled << oendl; | 13 | odebug << "Profile " << Data->Disabled << oendl; |
14 | if( A == Disable ) { | 14 | if( A == Disable ) { |
15 | if( ! Data->Disabled ) { | 15 | if( ! Data->Disabled ) { |
16 | Data->Disabled = 1; | 16 | Data->Disabled = 1; |
17 | NC->setModified( 1 ); | 17 | NC->setModified( 1 ); |
18 | } | 18 | } |
19 | } else if( A == Enable ) { | 19 | } else if( A == Enable ) { |
20 | if( Data->Disabled ) { | 20 | if( Data->Disabled ) { |
21 | Data->Disabled = 0; | 21 | Data->Disabled = 0; |
22 | NC->setModified( 1 ); | 22 | NC->setModified( 1 ); |
23 | } | 23 | } |
24 | } | 24 | } |
25 | 25 | ||
26 | return QString(); | 26 | return QString(); |
27 | } | 27 | } |