gpl url fix. maximize event on windows fix

This commit is contained in:
doitux
2007-10-27 21:01:44 +00:00
parent bb64e07657
commit 2e15d25e44
3 changed files with 9 additions and 2 deletions
+3 -1
View File
@@ -19,6 +19,8 @@
***************************************************************************/
#include "aboutpokerthimpl.h"
#include "configfile.h"
#include <QtCore>
aboutPokerthImpl::aboutPokerthImpl(QWidget *parent, ConfigFile *c)
: QDialog(parent), myConfig(c)
@@ -36,7 +38,7 @@ aboutPokerthImpl::aboutPokerthImpl(QWidget *parent, ConfigFile *c)
textBrowser_3->setPalette(myPalette);
textBrowser_4->setPalette(myPalette);
textBrowser_licence->setSource(QUrl(myAppDataPath+"misc/gpl2.html"));
textBrowser_licence->setSource(QUrl(QDir::toNativeSeparators(myAppDataPath+"misc/gpl2.html")));
label_logo->setPixmap(QPixmap(myAppDataPath+"gfx/gui/misc/logoChip3D.png"));
}
+4
View File
@@ -3632,6 +3632,10 @@ void mainWindowImpl::myButtonsCheckable(bool state) {
void mainWindowImpl::closeEvent(QCloseEvent* /*event*/) { quitPokerTH(); }
void mainWindowImpl::showMaximized () {
showFullScreen ();
}
void mainWindowImpl::quitPokerTH() {
if (myServerGuiInterface.get() && myServerGuiInterface->getSession().isNetworkServerRunning()) {
+2 -1
View File
@@ -319,7 +319,8 @@ public slots:
void myButtonsCheckable(bool state);
void changePlayingMode();
void showMaximized ();
void quitPokerTH();