Removed colon again from the electric characters

It broke indentation for global scope operator, and when that was fixed
it broke for the class initializer lists. I'm not sure how to fix that
at the moment, so better have it not do anything rather than being in
the way.
This commit is contained in:
Thorbjørn Lindeijer
2009-05-28 12:23:32 +02:00
parent e38250d81f
commit b450fa17b3

View File

@@ -843,8 +843,7 @@ bool CPPEditor::isElectricCharacter(const QChar &ch) const
{
if (ch == QLatin1Char('{') ||
ch == QLatin1Char('}') ||
ch == QLatin1Char('#') ||
ch == QLatin1Char(':')) {
ch == QLatin1Char('#')) {
return true;
}
return false;