Commit d0e0ca3c authored by Arto Hytönen's avatar Arto Hytönen

this should clean-up kdebase of all of overkills of krazy:exclude of QString::null lines.

as long as C++ std clause 6.8 states (if I get it right), the diff should be OK, still can only compile with gcc-4.2...

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=701136
parent f39a272a
......@@ -455,7 +455,7 @@ void UrlFilter::HotSpot::activate(QObject* object)
const UrlType kind = urlType();
const QString& actionName = object ? object->objectName() : QString::null; //krazy:exclude=nullstrassign for old broken gzz
const QString& actionName = object ? object->objectName() : QString();
if ( actionName == "copy-action" )
{
......
......@@ -582,14 +582,14 @@ QList<KeyboardTranslatorReader::Token> KeyboardTranslatorReader::tokenize(const
if ( title.exactMatch(text) )
{
Token titleToken = { Token::TitleKeyword , QString::null }; //krazy:exclude=nullstrassign for old broken gcc
Token titleToken = { Token::TitleKeyword , QString() };
Token textToken = { Token::TitleText , title.capturedTexts()[1] };
list << titleToken << textToken;
}
else if ( key.exactMatch(text) )
{
Token keyToken = { Token::KeyKeyword , QString::null }; //krazy:exclude=nullstrassign for old broken gcc
Token keyToken = { Token::KeyKeyword , QString() };
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); //krazy:exclude=nullstrassign for old broken gcc
// output.replace(QRegExp("%\\w"), QString());
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