--- a/launcher/prompts.cpp Sun Jun 07 18:31:19 2015 +0300 +++ b/launcher/prompts.cpp Sun Jun 07 18:48:06 2015 +0300 @@ -44,11 +44,12 @@ // Replace the placeholders QString text = ui->m_description->text(); - text.replace ("<DEMO>", basename (fileName)); - text.replace ("<VERSION>", binaryName); + text.replace ("{{DEMO}}", basename (fileName)); + text.replace ("{{VERSION}}", binaryName); ui->m_description->setText (text); - connect (ui->m_addVersion, SIGNAL (clicked (bool)), this, SLOT (addBinary())); + connect (ui->buttonBox, SIGNAL (accepted()), this, SLOT (addBinary())); + connect (ui->buttonBox, SIGNAL (rejected()), this, SLOT (reject())); connect (ui->m_findBinary, SIGNAL (clicked (bool)), this, SLOT (findBinary())); setWindowTitle (versionSignature()); }