[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kdecore/services
From:       David Faure <faure () kde ! org>
Date:       2010-09-02 22:34:21
Message-ID: 20100902223422.08079AC883 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1171162 by dfaure:

Removing the nice const because SunCC doesn't like it :(


 M  +2 -2      kmimemagicrule.cpp  


--- trunk/KDE/kdelibs/kdecore/services/kmimemagicrule.cpp #1171161:1171162
@@ -99,12 +99,12 @@
 }
 
 
-bool KMimeMagicRule::match(QIODevice* device, const qint64 deviceSize, QByteArray& \
availableData) const +bool KMimeMagicRule::match(QIODevice* device, qint64 \
deviceSize, QByteArray& availableData) const  {
     return testMatches(device, deviceSize, availableData, m_matches, m_mimetype);
 }
 
-bool KMimeMagicMatch::match(QIODevice* device, const qint64 deviceSize, QByteArray& \
availableData, const QString& mimeType) const +bool KMimeMagicMatch::match(QIODevice* \
device, qint64 deviceSize, QByteArray& availableData, const QString& mimeType) const  \
                {
     // First, check that "this" matches, then we'll dive into subMatches if any.
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic