Diffstat (limited to 'noncore/settings/networksettings2/networksettings2/resources.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/networksettings2/resources.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/noncore/settings/networksettings2/networksettings2/resources.cpp b/noncore/settings/networksettings2/networksettings2/resources.cpp index 71e84cd..7ece817 100644 --- a/noncore/settings/networksettings2/networksettings2/resources.cpp +++ b/noncore/settings/networksettings2/networksettings2/resources.cpp | |||
@@ -77,7 +77,7 @@ TheNSResources::TheNSResources( void ) : NodeTypeNameMap(), | |||
77 | tr( "<p>Fully configured connection profile</p>" ) ); | 77 | tr( "<p>Fully configured connection profile</p>" ) ); |
78 | 78 | ||
79 | // define system files | 79 | // define system files |
80 | addSystemFile( new SystemFile( "interfaces", "./interfaces" ) ); | 80 | addSystemFile( "interfaces", "/tmp/interfaces", 1 ); |
81 | 81 | ||
82 | // get access to the system | 82 | // get access to the system |
83 | TheSystem = new System(); | 83 | TheSystem = new System(); |
@@ -88,7 +88,16 @@ TheNSResources::~TheNSResources( void ) { | |||
88 | delete TheSystem; | 88 | delete TheSystem; |
89 | } | 89 | } |
90 | 90 | ||
91 | void TheNSResources::busy( bool B ) { | 91 | void TheNSResources::addSystemFile( const QString & ID, |
92 | const QString & P, | ||
93 | bool KDI ) { | ||
94 | if( ! SystemFiles.find( ID ) ) { | ||
95 | // new system file | ||
96 | SystemFiles.insert( ID, new SystemFile( ID, P, KDI ) ); | ||
97 | } // else existed | ||
98 | } | ||
99 | |||
100 | void TheNSResources::busy( bool ) { | ||
92 | /* | 101 | /* |
93 | if( B ) { | 102 | if( B ) { |
94 | ShowWait->show(); | 103 | ShowWait->show(); |