Commit 26129834 authored by Michael Reeves's avatar Michael Reeves

Scrat pointless change in seperator.

This is defined and used sololy by our code. Not KDE/QT.
parent 81e82167
......@@ -1062,7 +1062,7 @@ KApplication::KApplication()
}
m_config.readConfigFile(configFileName);
QStringList ignorableCmdLineOptionsList = m_config.readEntry("IgnorableCmdLineOptions", QStringList("-u;-query;-html;-abort"), '|');
QStringList ignorableCmdLineOptionsList = m_config.readEntry("IgnorableCmdLineOptions", QStringList("-u;-query;-html;-abort"), ',');
QString ignorableCmdLineOptions;
if ( !ignorableCmdLineOptionsList.isEmpty() )
ignorableCmdLineOptions = ignorableCmdLineOptionsList.front() + ";";
......
......@@ -301,7 +301,7 @@ public:
template <class T> T readEntry (const QString& s, const T& defaultVal ){ return d->readEntry(s,defaultVal); }
QString readEntry (const QString& s, const char* defaultVal ){ return d->readEntry(s,defaultVal); }
QStringList readEntry (const QString& s, const QStringList& defaultVal, char separator='|' ){ return d->readEntry(s,defaultVal,separator); }
QStringList readEntry (const QString& s, const QStringList& defaultVal, char separator=',' ){ return d->readEntry(s,defaultVal,separator); }
};
typedef KConfigGroup* KSharedConfigPtr;
......
......@@ -58,12 +58,9 @@ void initialiseCmdLineArgs( ) {
}
}
}
#ifdef KREPLACEMENTS_H
QStringList sl = ignorableOptionsLine.split( '|' );
#else
QStringList sl = ignorableOptionsLine.split( ',' );
#endif
if( !sl.isEmpty() ) {
QStringList ignorableOptions = sl.front().split( ';' );
for( QStringList::iterator i = ignorableOptions.begin(); i != ignorableOptions.end(); ++i ) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment