From 7ab10e87ac24e65849896bf5c918c0d6ea7e0c2e Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 25 May 2015 11:21:42 -0400 Subject: Fix one other utility to use the new libLumina changes to the isValidBinary() function. --- lumina-open/LFileDialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lumina-open/LFileDialog.cpp b/lumina-open/LFileDialog.cpp index 4010dc74..673df3bd 100644 --- a/lumina-open/LFileDialog.cpp +++ b/lumina-open/LFileDialog.cpp @@ -141,7 +141,8 @@ void LFileDialog::updateUI(){ bool good = false; if(ui->radio_custom->isChecked()){ if(!ui->line_bin->text().isEmpty()){ - good = LUtils::isValidBinary(ui->line_bin->text()); + QString bin = ui->line_bin->text(); + good = LUtils::isValidBinary(bin); //Now verify that the file exists and is executable if( good ){ ui->label_goodbin->setPixmap(QPixmap(":/icons/good.png")); -- cgit