Commit 7021299c authored by Arto Hytönen's avatar Arto Hytönen

further elimination/cancellation of QString::null.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=700742
parent ec72a6d5
......@@ -357,7 +357,7 @@ QRegExp RegExpFilter::regExp() const
}
/*void RegExpFilter::reset(int)
{
_buffer = QString::null;
_buffer = QString();
}*/
void RegExpFilter::process()
{
......@@ -455,7 +455,7 @@ void UrlFilter::HotSpot::activate(QObject* object)
const UrlType kind = urlType();
const QString& actionName = object ? object->objectName() : QString::null;
const QString& actionName = object ? object->objectName() : QString::null; //krazy:exclude=nullstrassign for old broken gzz
if ( actionName == "copy-action" )
{
......
......@@ -582,14 +582,14 @@ QList<KeyboardTranslatorReader::Token> KeyboardTranslatorReader::tokenize(const
if ( title.exactMatch(text) )
{
Token titleToken = { Token::TitleKeyword , QString::null };
Token titleToken = { Token::TitleKeyword , QString::null }; //krazy:exclude=nullstrassign for old broken gcc
Token textToken = { Token::TitleText , title.capturedTexts()[1] };
list << titleToken << textToken;
}
else if ( key.exactMatch(text) )
{
Token keyToken = { Token::KeyKeyword , QString::null };
Token keyToken = { Token::KeyKeyword , QString::null }; //krazy:exclude=nullstrassign for old broken gcc
Token sequenceToken = { Token::KeySequence , key.capturedTexts()[1].remove(' ') };
list << keyToken << sequenceToken;
......
......@@ -93,7 +93,7 @@ QString ProcessInfo::format(const QString& input) const
output.replace("%d",formatShortDir(dir));
// remove any remaining %[LETTER] sequences
// output.replace(QRegExp("%\\w"),QString::null);
// output.replace(QRegExp("%\\w"),QString::null); //krazy:exclude=nullstrassign for old broken gcc
return output;
}
......
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