Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37739393
en ru br
Репозитории ALT
S:1.1.2-alt7
5.1: 0.7.1-alt1
www.altlinux.org/Changes

Группа :: Игры/Карты
Пакет: 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>
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin