equal
deleted
inserted
replaced
526 QListWidgetItem * curritem = ui.pagePlayDemo->DemosList->currentItem(); |
526 QListWidgetItem * curritem = ui.pagePlayDemo->DemosList->currentItem(); |
527 if (!curritem) |
527 if (!curritem) |
528 { |
528 { |
529 QMessageBox::critical(this, |
529 QMessageBox::critical(this, |
530 tr("Error"), |
530 tr("Error"), |
531 tr("Please, select record from the list above"), |
531 tr("Please select record from the list above"), |
532 tr("OK")); |
532 tr("OK")); |
533 return ; |
533 return ; |
534 } |
534 } |
535 CreateGame(0, 0, 0); |
535 CreateGame(0, 0, 0); |
536 game->PlayDemo(curritem->data(Qt::UserRole).toString()); |
536 game->PlayDemo(curritem->data(Qt::UserRole).toString()); |