[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kate/part
From: Alex Merry <huntedhacker () tiscali ! co ! uk>
Date: 2007-05-21 21:22:33
Message-ID: 1179782553.073498.22395.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 667103 by alexmerry:
EBN fixes.
M +1 -1 mode/katemodemenu.cpp
M +1 -1 syntax/katehighlighthelpers.h
M +1 -1 view/kateviewhelpers.cpp
--- trunk/KDE/kdelibs/kate/part/mode/katemodemenu.cpp #667102:667103
@@ -144,7 +144,7 @@
} else {
QList<QAction*> actions = menu()->actions();
for ( int j = 0; j < actions.count(); ++j ) {
- if ( actions[ j ]->data().toString() == "" )
+ if ( actions[ j ]->data().toString().isEmpty() )
actions[ j ]->setChecked( true );
}
}
--- trunk/KDE/kdelibs/kate/part/syntax/katehighlighthelpers.h #667102:667103
@@ -91,7 +91,7 @@
class KateHlIncludeRule
{
public:
- KateHlIncludeRule(int ctx_=0, uint pos_=0, const QString &incCtxN_="", bool \
incAttrib=false) + explicit KateHlIncludeRule(int ctx_=0, uint pos_=0, const \
QString &incCtxN_="", bool incAttrib=false) : ctx(ctx_)
, pos( pos_)
, incCtxN( incCtxN_ )
--- trunk/KDE/kdelibs/kate/part/view/kateviewhelpers.cpp #667102:667103
@@ -929,7 +929,7 @@
paintBorder(e->rect().x(), e->rect().y(), e->rect().width(), e->rect().height());
}
-static void paintTriangle (QPainter &painter, QColor baseColor, int xOffset, int \
yOffset, int width, int height, bool open) +static void paintTriangle (QPainter \
&painter, const QColor &baseColor, int xOffset, int yOffset, int width, int height, \
bool open) {
float size = qMin (width, height);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic