diff --git a/src/gui/qt/aboutpokerth/aboutpokerthimpl.cpp b/src/gui/qt/aboutpokerth/aboutpokerthimpl.cpp index 567cd6e9..729dbede 100755 --- a/src/gui/qt/aboutpokerth/aboutpokerthimpl.cpp +++ b/src/gui/qt/aboutpokerth/aboutpokerthimpl.cpp @@ -19,6 +19,8 @@ ***************************************************************************/ #include "aboutpokerthimpl.h" #include "configfile.h" +#include + 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")); } diff --git a/src/gui/qt/mainwindow/mainwindowimpl.cpp b/src/gui/qt/mainwindow/mainwindowimpl.cpp index 83f3c545..647b3332 100755 --- a/src/gui/qt/mainwindow/mainwindowimpl.cpp +++ b/src/gui/qt/mainwindow/mainwindowimpl.cpp @@ -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()) { diff --git a/src/gui/qt/mainwindow/mainwindowimpl.h b/src/gui/qt/mainwindow/mainwindowimpl.h index 4301e25c..050f3e7b 100755 --- a/src/gui/qt/mainwindow/mainwindowimpl.h +++ b/src/gui/qt/mainwindow/mainwindowimpl.h @@ -319,7 +319,8 @@ public slots: void myButtonsCheckable(bool state); void changePlayingMode(); - + + void showMaximized (); void quitPokerTH();