From d96e42dbf6ab2d983a35510c5529e0485d440581 Mon Sep 17 00:00:00 2001 From: doitux Date: Thu, 1 Feb 2007 18:39:20 +0000 Subject: [PATCH] --- src/gui/qt/mainwindowimpl.cpp | 2 +- src/pokerth.cpp | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gui/qt/mainwindowimpl.cpp b/src/gui/qt/mainwindowimpl.cpp index 751ec111..23cb1239 100755 --- a/src/gui/qt/mainwindowimpl.cpp +++ b/src/gui/qt/mainwindowimpl.cpp @@ -1723,7 +1723,7 @@ void mainWindowImpl::keyPressEvent ( QKeyEvent * event ) { if (event->key() == 16777220) { if(spinBox_set->hasFocus()) pushButton_set->click(); } //ENTER if (event->key() == 16777265) { switchToolBox(); } //F2 - if (event->key() == 65) { + if (event->key() == 65) { callNewGameDialog(); } if (event->key() == 66) { diff --git a/src/pokerth.cpp b/src/pokerth.cpp index 39098beb..f8cf3266 100755 --- a/src/pokerth.cpp +++ b/src/pokerth.cpp @@ -46,12 +46,9 @@ int main( int argc, char **argv ) Q_INIT_RESOURCE(deck); /////////////////////////////////////////////////// - GuiInterface *myGuiInterface = new GuiWrapper(); - Session theFirst(myGuiInterface); - return a.exec(); }