Running astyle.

This commit is contained in:
lotodore
2013-10-06 16:30:09 +02:00
parent c8939fdbdf
commit f0f3d2eb04
44 changed files with 201 additions and 200 deletions
+1 -2
View File
@@ -4482,8 +4482,7 @@ void gameTableImpl::refreshSpectatorsDisplay()
}
spectatorList.remove(spectatorList.size()-4,4);
spectatorIcon->setToolTip(spectatorList);
}
else {
} else {
spectatorIcon->setToolTip("");
spectatorIcon->clear();
}
+1 -1
View File
@@ -48,7 +48,7 @@
#include <QtGui>
#include <QtCore>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#include <QtWidgets>
#endif
class guiLog;
+1 -1
View File
@@ -42,7 +42,7 @@
#include <QtGui>
#include <QtSql>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#include <QtWidgets>
#endif
struct result_struct {
+1 -1
View File
@@ -34,7 +34,7 @@
#include <QtGui>
#include <QtCore>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#include <QtWidgets>
#endif
class GameTableStyleReader;
+3 -4
View File
@@ -397,10 +397,9 @@ void MyAvatarLabel::paintEvent(QPaintEvent*)
//hide avatar if player is on ignore list
boost::shared_ptr<Session> mySession = myW->myStartWindow->getSession();
if(!playerIsOnIgnoreList(QString::fromUtf8(mySession->getClientPlayerInfo(myUniqueId).playerName.c_str()))) {
painter.drawPixmap(0,0,myPixmap);
return;
}
else if(myW->getMyConfig()->readConfigInt("DontHideAvatarsOfIgnored")) {
painter.drawPixmap(0,0,myPixmap);
return;
} else if(myW->getMyConfig()->readConfigInt("DontHideAvatarsOfIgnored")) {
painter.drawPixmap(0,0,myPixmap);
return;
}
+1 -1
View File
@@ -36,7 +36,7 @@
#include <QtGui>
#include <QtCore>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#include <QtWidgets>
#endif
class gameTableImpl;
+1 -1
View File
@@ -36,7 +36,7 @@
#include <QtGui>
#include <QtCore>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#include <QtWidgets>
#endif
class gameTableImpl;
+1 -1
View File
@@ -36,7 +36,7 @@
#include <QtGui>
#include <QtCore>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#include <QtWidgets>
#endif
class gameTableImpl;
+1 -1
View File
@@ -36,7 +36,7 @@
#include <QtGui>
#include <QtCore>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#include <QtWidgets>
#endif
class gameTableImpl;
+1 -1
View File
@@ -34,7 +34,7 @@
#include <QtGui>
#include <QtCore>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#include <QtWidgets>
#endif
class MyLeftTabWidget : public QTabWidget
+1 -1
View File
@@ -34,7 +34,7 @@
#include <QtGui>
#include <QtCore>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#include <QtWidgets>
#endif
class MyMenuBar : public QMenuBar
+1 -1
View File
@@ -36,7 +36,7 @@
#include <QtGui>
#include <QtCore>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#include <QtWidgets>
#endif
class gameTableImpl;
+1 -1
View File
@@ -34,7 +34,7 @@
#include <QtGui>
#include <QtCore>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#include <QtWidgets>
#endif
class MyRightTabWidget : public QTabWidget
+1 -1
View File
@@ -36,7 +36,7 @@
#include <QtGui>
#include <QtCore>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#include <QtWidgets>
#endif
class gameTableImpl;
+1 -1
View File
@@ -36,7 +36,7 @@
#include <QtGui>
#include <QtCore>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#include <QtWidgets>
#endif
class gameTableImpl;
+1 -1
View File
@@ -39,7 +39,7 @@
#include <third_party/boost/timers.hpp>
#endif
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#include <QtWidgets>
#endif
class gameTableImpl;
@@ -34,7 +34,7 @@
#include <QtGui>
#include <QtCore>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#include <QtWidgets>
#endif