mirror of
https://github.com/KDE/konsole.git
synced 2026-05-19 12:09:25 -04:00
further elimination/cancellation of QString::null.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=700742
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user