Группа :: Игры/Карты
Пакет: PokerTH
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: PokerTH-1.1.1-alt4.patch
Скачать
Скачать
src/gui/qt/gametable/gametableimpl.cpp | 2 +-
src/gui/qt/sound/sdlplayer.cpp | 1 +
src/third_party/qtsingleapplication/qtlocalpeer.cpp | 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/gui/qt/gametable/gametableimpl.cpp b/src/gui/qt/gametable/gametableimpl.cpp
index 3d31711..2832273 100755
--- a/src/gui/qt/gametable/gametableimpl.cpp
+++ b/src/gui/qt/gametable/gametableimpl.cpp
@@ -3859,7 +3859,7 @@ void gameTableImpl::triggerVoteOnKick(int id)
int playerCount = static_cast<int>(seatList->size());
if (id < playerCount) {
PlayerListIterator pos = seatList->begin();
- advance(pos, id);
+ std::advance(pos, id);
myStartWindow->getSession()->startVoteKickPlayer((*pos)->getMyUniqueID());
}
}
diff --git a/src/gui/qt/sound/sdlplayer.cpp b/src/gui/qt/sound/sdlplayer.cpp
index 5d0d8e9..f41fdd5 100644
--- a/src/gui/qt/sound/sdlplayer.cpp
+++ b/src/gui/qt/sound/sdlplayer.cpp
@@ -29,6 +29,7 @@
* as that of the covered work. *
*****************************************************************************/
#include "sdlplayer.h"
+#include <QDataStream>
#if (defined __APPLE__)
#include <SDL.h>
diff --git a/src/third_party/qtsingleapplication/qtlocalpeer.cpp b/src/third_party/qtsingleapplication/qtlocalpeer.cpp
index 43e6bf4..e0ddc07 100644
--- a/src/third_party/qtsingleapplication/qtlocalpeer.cpp
+++ b/src/third_party/qtsingleapplication/qtlocalpeer.cpp
@@ -31,6 +31,7 @@
#include <QCoreApplication>
#include <QTime>
+#include <QDataStream>
#if defined(Q_OS_WIN)
#include <QLibrary>