mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-25 18:00:15 +00:00
another travis fix
This commit is contained in:
parent
6fc4349b91
commit
21d2a90b89
@ -190,7 +190,8 @@ QDialogEx::QDialogEx(QWidget *parent) :
|
||||
auto buttonCancel = new QPushButton();
|
||||
buttonCancel->setText("Cancel");
|
||||
connect(buttonOk, &QPushButton::released, this, [=]() {
|
||||
if (typeSelect->currentIndex() == 0 && Common::Trim(nameblock->text().toStdString()).length() > 0) {
|
||||
auto name = nameblock->text().toStdString();
|
||||
if (typeSelect->currentIndex() == 0 && Common::Trim(name).length() > 0) {
|
||||
return_value = std::make_shared<CheatEngine::GatewayCheat>(std::vector<CheatEngine::CheatLine>(), std::vector<std::string>(), false, nameblock->text().toStdString());
|
||||
}
|
||||
ui->close();
|
||||
|
Loading…
Reference in New Issue
Block a user