forked from qt-creator/qt-creator
Merge remote branch 'origin/2.0'
Conflicts: doc/qt-html-templates.qdocconf src/plugins/qmldesigner/components/stateseditor/stateseditorview.cpp src/plugins/qmljseditor/qmljscodecompletion.cpp
This commit is contained in:
@@ -79,7 +79,7 @@ enum CompletionRelevance {
|
||||
};
|
||||
|
||||
// Temporary workaround until we have proper icons for QML completion items
|
||||
QIcon iconForColor(const QColor &color)
|
||||
static QIcon iconForColor(const QColor &color)
|
||||
{
|
||||
QPixmap pix(6, 6);
|
||||
|
||||
@@ -109,7 +109,7 @@ QIcon iconForColor(const QColor &color)
|
||||
return pix;
|
||||
}
|
||||
|
||||
bool checkStartOfIdentifier(const QString &word)
|
||||
static bool checkStartOfIdentifier(const QString &word)
|
||||
{
|
||||
if (word.isEmpty())
|
||||
return false;
|
||||
@@ -125,7 +125,7 @@ bool checkStartOfIdentifier(const QString &word)
|
||||
}
|
||||
}
|
||||
|
||||
bool isIdentifierChar(QChar ch)
|
||||
static bool isIdentifierChar(QChar ch)
|
||||
{
|
||||
switch (ch.unicode()) {
|
||||
case '_': case '$':
|
||||
|
||||
Reference in New Issue
Block a user