diff options
author | Ken Moore <ken@pcbsd.org> | 2015-05-25 11:21:42 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-05-25 11:21:42 -0400 |
commit | 7ab10e87ac24e65849896bf5c918c0d6ea7e0c2e (patch) | |
tree | 5f37e86417e901adb68102746fc277884f2515f9 /lumina-open/LFileDialog.cpp | |
parent | Add the ability to show binaries on the lumina-search output as well as *.des... (diff) | |
download | lumina-7ab10e87ac24e65849896bf5c918c0d6ea7e0c2e.tar.gz lumina-7ab10e87ac24e65849896bf5c918c0d6ea7e0c2e.tar.bz2 lumina-7ab10e87ac24e65849896bf5c918c0d6ea7e0c2e.zip |
Fix one other utility to use the new libLumina changes to the isValidBinary() function.
Diffstat (limited to 'lumina-open/LFileDialog.cpp')
-rw-r--r-- | lumina-open/LFileDialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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")); |