author | tille <tille> | 2002-05-12 12:07:14 (UTC) |
---|---|---|
committer | tille <tille> | 2002-05-12 12:07:14 (UTC) |
commit | 06e723cc7942af2691828e7fdc6a6ec47b44edab (patch) (unidiff) | |
tree | f96bd547911c4fdc2aa8db95bd6175ebae02b027 /noncore/unsupported/oipkg/settings.cpp | |
parent | 026a99ad2360a9abc2964cbdc3b71b49adcd66e6 (diff) | |
download | opie-06e723cc7942af2691828e7fdc6a6ec47b44edab.zip opie-06e723cc7942af2691828e7fdc6a6ec47b44edab.tar.gz opie-06e723cc7942af2691828e7fdc6a6ec47b44edab.tar.bz2 |
fixed crash when remove dest
Diffstat (limited to 'noncore/unsupported/oipkg/settings.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/settings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/unsupported/oipkg/settings.cpp b/noncore/unsupported/oipkg/settings.cpp index 8f91995..85daa98 100644 --- a/noncore/unsupported/oipkg/settings.cpp +++ b/noncore/unsupported/oipkg/settings.cpp | |||
@@ -181,12 +181,12 @@ void PackageManagerSettings::writeIpkgConfig(const QString& conffile) | |||
181 | QFile conf(conffile); | 181 | QFile conf(conffile); |
182 | if ( ! conf.open(IO_WriteOnly) ) return; | 182 | if ( ! conf.open(IO_WriteOnly) ) return; |
183 | QTextStream s(&conf); | 183 | QTextStream s(&conf); |
184 | s << "# Written by qpie Package Manager\n"; | 184 | s << "# "+tr("Written by Opie Package Manager")+"\n"; |
185 | for (int i=0; i<(int)activeServers->count(); i++) | 185 | for (int i=0; i<(int)activeServers->count(); i++) |
186 | { | 186 | { |
187 | QString url = serverurlDic[i] ? *serverurlDic[i] : QString("???"); | 187 | QString url = serverurlDic[i] ? *serverurlDic[i] : QString("???"); |
188 | if ( !activeServers->isSelected(i) ) | 188 | if ( !activeServers->isSelected(i) ) |
189 | s << "#"; | 189 | s << "#"; |
190 | s << "src " << activeServers->text(i) << " " << url << "\n"; | 190 | s << "src " << activeServers->text(i) << " " << url << "\n"; |
191 | } | 191 | } |
192 | for (int i=0; i<(int)destinations->count(); i++) | 192 | for (int i=0; i<(int)destinations->count(); i++) |