gpl url fix. maximize event on windows fix
This commit is contained in:
@@ -19,6 +19,8 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
#include "aboutpokerthimpl.h"
|
#include "aboutpokerthimpl.h"
|
||||||
#include "configfile.h"
|
#include "configfile.h"
|
||||||
|
#include <QtCore>
|
||||||
|
|
||||||
|
|
||||||
aboutPokerthImpl::aboutPokerthImpl(QWidget *parent, ConfigFile *c)
|
aboutPokerthImpl::aboutPokerthImpl(QWidget *parent, ConfigFile *c)
|
||||||
: QDialog(parent), myConfig(c)
|
: QDialog(parent), myConfig(c)
|
||||||
@@ -36,7 +38,7 @@ aboutPokerthImpl::aboutPokerthImpl(QWidget *parent, ConfigFile *c)
|
|||||||
textBrowser_3->setPalette(myPalette);
|
textBrowser_3->setPalette(myPalette);
|
||||||
textBrowser_4->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"));
|
label_logo->setPixmap(QPixmap(myAppDataPath+"gfx/gui/misc/logoChip3D.png"));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3632,6 +3632,10 @@ void mainWindowImpl::myButtonsCheckable(bool state) {
|
|||||||
|
|
||||||
void mainWindowImpl::closeEvent(QCloseEvent* /*event*/) { quitPokerTH(); }
|
void mainWindowImpl::closeEvent(QCloseEvent* /*event*/) { quitPokerTH(); }
|
||||||
|
|
||||||
|
void mainWindowImpl::showMaximized () {
|
||||||
|
showFullScreen ();
|
||||||
|
}
|
||||||
|
|
||||||
void mainWindowImpl::quitPokerTH() {
|
void mainWindowImpl::quitPokerTH() {
|
||||||
|
|
||||||
if (myServerGuiInterface.get() && myServerGuiInterface->getSession().isNetworkServerRunning()) {
|
if (myServerGuiInterface.get() && myServerGuiInterface->getSession().isNetworkServerRunning()) {
|
||||||
|
|||||||
@@ -319,7 +319,8 @@ public slots:
|
|||||||
void myButtonsCheckable(bool state);
|
void myButtonsCheckable(bool state);
|
||||||
|
|
||||||
void changePlayingMode();
|
void changePlayingMode();
|
||||||
|
|
||||||
|
void showMaximized ();
|
||||||
void quitPokerTH();
|
void quitPokerTH();
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user