author | zecke <zecke> | 2004-12-20 22:27:21 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-12-20 22:27:21 (UTC) |
commit | 89b3fd61bdd13e62ff64bd7ab0b15c10a964b867 (patch) (unidiff) | |
tree | 6cc25286965e93788e9e47b7743f2379ec328bf5 | |
parent | 2be4d5bf420dc4aff71cf78601c095a96ed88c47 (diff) | |
download | opie-89b3fd61bdd13e62ff64bd7ab0b15c10a964b867.zip opie-89b3fd61bdd13e62ff64bd7ab0b15c10a964b867.tar.gz opie-89b3fd61bdd13e62ff64bd7ab0b15c10a964b867.tar.bz2 |
Restore change
-QPEApplication::qpeDir() is guranteed to be '/' terminated
-rw-r--r-- | noncore/settings/networksettings2/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/networksettings2/main.cpp b/noncore/settings/networksettings2/main.cpp index 9004d19..18bf652 100644 --- a/noncore/settings/networksettings2/main.cpp +++ b/noncore/settings/networksettings2/main.cpp | |||
@@ -87,9 +87,9 @@ int main( int argc, char * argv[] ) { | |||
87 | { NetworkSettingsData NS; | 87 | { NetworkSettingsData NS; |
88 | if( NS.canStart( argv[1] ) ) { | 88 | if( NS.canStart( argv[1] ) ) { |
89 | QString S; | 89 | QString S; |
90 | S.sprintf( QPEApplication::qpeDir()+ | 90 | S.sprintf( QPEApplication::qpeDir()+ |
91 | "/bin/networksettings2" ); | 91 | "bin/networksettings2" ); |
92 | char * MyArgv[4]; | 92 | char * MyArgv[4]; |
93 | MyArgv[0] = "networksettings2"; | 93 | MyArgv[0] = "networksettings2"; |
94 | MyArgv[1] = "--prompt"; | 94 | MyArgv[1] = "--prompt"; |
95 | MyArgv[2] = argv[1]; | 95 | MyArgv[2] = argv[1]; |