Commit 263b41f8 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Style fixes

svn path=/trunk/koffice/; revision=770848
parent a30be271
......@@ -90,4 +90,10 @@ Slots and signals
Prefix slots with slot and signals with sig: slotUpdateSelection, sigSelectionUpdated.
Boudewijn Rempt
\ No newline at end of file
Boolean operators
Use the standard !, !=, ==, && etc style, not the "not", "and" etc. style. Keep krita code
using one, easily recognizable, C++ style.
Boudewijn Rempt
......@@ -127,7 +127,7 @@ public:
{
QMutexLocker lockRunning(&m_mutex_running);
dbgUI <<"run";
while(not m_finish or not empty() )
while(!m_finish or !isEmpty() )
{
FreehandPaintJob* nextJob = 0;
{
......@@ -157,7 +157,7 @@ public:
m_finish = true;
QMutexLocker lockRunning(&m_mutex_running);
}
bool empty() {
bool isEmpty() {
QMutexLocker lock(&m_mutex_queue);
return m_queue.size() == 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment