Running astyle.
This commit is contained in:
@@ -4482,8 +4482,7 @@ void gameTableImpl::refreshSpectatorsDisplay()
|
||||
}
|
||||
spectatorList.remove(spectatorList.size()-4,4);
|
||||
spectatorIcon->setToolTip(spectatorList);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
spectatorIcon->setToolTip("");
|
||||
spectatorIcon->clear();
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
#include <QtGui>
|
||||
#include <QtCore>
|
||||
#if QT_VERSION >= 0x050000
|
||||
#include <QtWidgets>
|
||||
#include <QtWidgets>
|
||||
#endif
|
||||
|
||||
class guiLog;
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
#include <QtGui>
|
||||
#include <QtSql>
|
||||
#if QT_VERSION >= 0x050000
|
||||
#include <QtWidgets>
|
||||
#include <QtWidgets>
|
||||
#endif
|
||||
|
||||
struct result_struct {
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include <QtGui>
|
||||
#include <QtCore>
|
||||
#if QT_VERSION >= 0x050000
|
||||
#include <QtWidgets>
|
||||
#include <QtWidgets>
|
||||
#endif
|
||||
|
||||
class GameTableStyleReader;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <QtGui>
|
||||
#include <QtCore>
|
||||
#if QT_VERSION >= 0x050000
|
||||
#include <QtWidgets>
|
||||
#include <QtWidgets>
|
||||
#endif
|
||||
|
||||
class gameTableImpl;
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <QtGui>
|
||||
#include <QtCore>
|
||||
#if QT_VERSION >= 0x050000
|
||||
#include <QtWidgets>
|
||||
#include <QtWidgets>
|
||||
#endif
|
||||
|
||||
class gameTableImpl;
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <QtGui>
|
||||
#include <QtCore>
|
||||
#if QT_VERSION >= 0x050000
|
||||
#include <QtWidgets>
|
||||
#include <QtWidgets>
|
||||
#endif
|
||||
|
||||
class gameTableImpl;
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <QtGui>
|
||||
#include <QtCore>
|
||||
#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
|
||||
|
||||
class MyLeftTabWidget : public QTabWidget
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include <QtGui>
|
||||
#include <QtCore>
|
||||
#if QT_VERSION >= 0x050000
|
||||
#include <QtWidgets>
|
||||
#include <QtWidgets>
|
||||
#endif
|
||||
|
||||
class MyMenuBar : public QMenuBar
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <QtGui>
|
||||
#include <QtCore>
|
||||
#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
|
||||
|
||||
class MyRightTabWidget : public QTabWidget
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <QtGui>
|
||||
#include <QtCore>
|
||||
#if QT_VERSION >= 0x050000
|
||||
#include <QtWidgets>
|
||||
#include <QtWidgets>
|
||||
#endif
|
||||
|
||||
class gameTableImpl;
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <QtGui>
|
||||
#include <QtCore>
|
||||
#if QT_VERSION >= 0x050000
|
||||
#include <QtWidgets>
|
||||
#include <QtWidgets>
|
||||
#endif
|
||||
|
||||
class gameTableImpl;
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user