mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-25 19:40:13 +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();
|
auto buttonCancel = new QPushButton();
|
||||||
buttonCancel->setText("Cancel");
|
buttonCancel->setText("Cancel");
|
||||||
connect(buttonOk, &QPushButton::released, this, [=]() {
|
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());
|
return_value = std::make_shared<CheatEngine::GatewayCheat>(std::vector<CheatEngine::CheatLine>(), std::vector<std::string>(), false, nameblock->text().toStdString());
|
||||||
}
|
}
|
||||||
ui->close();
|
ui->close();
|
||||||
|
Loading…
Reference in New Issue
Block a user