This commit is contained in:
@@ -286,4 +286,4 @@ void joinNetworkGameDialogImpl::checkIp() {
|
||||
//remove whitespaces
|
||||
QString tmp = lineEdit_ipAddress->text();
|
||||
lineEdit_ipAddress->setText(tmp.remove(" "));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
using namespace std;
|
||||
|
||||
mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent)
|
||||
: QMainWindow(parent), myConfig(c), gameSpeed(0), myActionIsBet(0), myActionIsRaise(0), debugMode(0), breakAfterActualHand(FALSE)
|
||||
: QMainWindow(parent), myConfig(c), gameSpeed(0), myActionIsBet(0), myActionIsRaise(0), debugMode(1), breakAfterActualHand(FALSE)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
||||
@@ -28,3 +28,4 @@ std::string QtHelper::stringToUtf8(const std::string &myString) {
|
||||
return myUtf8String;
|
||||
}
|
||||
|
||||
std::string QtHelper::getDefaultLanguage() { return QLocale::system().name().toStdString(); }
|
||||
@@ -23,6 +23,7 @@ public:
|
||||
~QtHelper();
|
||||
|
||||
std::string stringToUtf8(const std::string &);
|
||||
std::string getDefaultLanguage();
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -37,4 +37,4 @@ QtToolsWrapper::~QtToolsWrapper()
|
||||
}
|
||||
|
||||
std::string QtToolsWrapper::stringToUtf8(const std::string &myString) { return myQtHelper->stringToUtf8(myString); }
|
||||
|
||||
std::string QtToolsWrapper::getDefaultLanguage() { return myQtHelper->getDefaultLanguage(); }
|
||||
|
||||
@@ -35,6 +35,7 @@ public:
|
||||
~QtToolsWrapper();
|
||||
|
||||
std::string stringToUtf8(const std::string &myString);
|
||||
std::string getDefaultLanguage();
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -60,17 +60,17 @@ void SDLPlayer::playSound(string audioString, int playerID) {
|
||||
|
||||
switch (playerID) {
|
||||
|
||||
case 0: { position = 180; distance = 30; }
|
||||
case 0: { position = 180; distance = 10; }
|
||||
break;
|
||||
case 1: { position = 281; distance = 40; }
|
||||
case 1: { position = 281; distance = 30; }
|
||||
break;
|
||||
case 2: { position = 315; distance = 80; }
|
||||
case 2: { position = 315; distance = 90; }
|
||||
break;
|
||||
case 3: { position = 338; distance = 100; }
|
||||
case 3: { position = 338; distance = 130; }
|
||||
break;
|
||||
case 4: { position = 23; distance = 100; }
|
||||
case 4: { position = 23; distance = 130; }
|
||||
break;
|
||||
case 5: { position = 45; distance = 80; }
|
||||
case 5: { position = 45; distance = 90; }
|
||||
break;
|
||||
case 6: { position = 79; distance = 30; }
|
||||
break;
|
||||
|
||||
@@ -28,6 +28,7 @@ public:
|
||||
|
||||
//qthelper.cpp
|
||||
virtual std::string stringToUtf8(const std::string &) =0;
|
||||
virtual std::string getDefaultLanguage() =0;
|
||||
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user