Diffstat (limited to 'noncore/settings/networksettings2/networksettings2/resources.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/networksettings2/resources.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/settings/networksettings2/networksettings2/resources.cpp b/noncore/settings/networksettings2/networksettings2/resources.cpp index e6ce2b7..4b7a62f 100644 --- a/noncore/settings/networksettings2/networksettings2/resources.cpp +++ b/noncore/settings/networksettings2/networksettings2/resources.cpp | |||
@@ -168,5 +168,6 @@ bool TheNSResources::loadNetNode( | |||
168 | 168 | ||
169 | // store mapping | 169 | // store mapping |
170 | AllNodeTypes.insert( NN->NetNode->nodeName(), NN ); | 170 | printf( "Store %s\n", NN->NetNode->name() ); |
171 | AllNodeTypes.insert( NN->NetNode->name(), NN ); | ||
171 | } | 172 | } |
172 | 173 | ||
@@ -177,5 +178,4 @@ QPixmap TheNSResources::getPixmap( const QString & QS ) { | |||
177 | QString S("networksettings2/"); | 178 | QString S("networksettings2/"); |
178 | S += QS; | 179 | S += QS; |
179 | printf( " pixmap %s\n", S.latin1() ); | ||
180 | return Resource::loadPixmap( QString("networksettings2/")+QS ); | 180 | return Resource::loadPixmap( QString("networksettings2/")+QS ); |
181 | } | 181 | } |
@@ -201,5 +201,5 @@ void TheNSResources::addConnection( NodeCollection * NC ) { | |||
201 | ++it ) { | 201 | ++it ) { |
202 | NNI = it.current(); | 202 | NNI = it.current(); |
203 | if( findNodeInstance( NNI->nodeName() ) == 0 ) { | 203 | if( findNodeInstance( NNI->name() ) == 0 ) { |
204 | // new item | 204 | // new item |
205 | addNodeInstance( NNI ); | 205 | addNodeInstance( NNI ); |
@@ -216,5 +216,5 @@ void TheNSResources::removeConnection( const QString & N ) { | |||
216 | ANetNodeInstance * NNI; | 216 | ANetNodeInstance * NNI; |
217 | for( NNI = NC->first(); NNI != 0; NNI = NC->next() ) { | 217 | for( NNI = NC->first(); NNI != 0; NNI = NC->next() ) { |
218 | removeNodeInstance( NNI->nodeName() ); | 218 | removeNodeInstance( NNI->name() ); |
219 | } | 219 | } |
220 | ConnectionsMap.remove( N ); | 220 | ConnectionsMap.remove( N ); |