This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -46,12 +46,9 @@ int main( int argc, char **argv )
|
||||
Q_INIT_RESOURCE(deck);
|
||||
///////////////////////////////////////////////////
|
||||
|
||||
|
||||
GuiInterface *myGuiInterface = new GuiWrapper();
|
||||
|
||||
|
||||
Session theFirst(myGuiInterface);
|
||||
|
||||
|
||||
return a.exec();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user