aboutsummaryrefslogtreecommitdiff
path: root/lumina-open
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-05-25 11:21:42 -0400
committerKen Moore <ken@pcbsd.org>2015-05-25 11:21:42 -0400
commit7ab10e87ac24e65849896bf5c918c0d6ea7e0c2e (patch)
tree5f37e86417e901adb68102746fc277884f2515f9 /lumina-open
parentAdd the ability to show binaries on the lumina-search output as well as *.des... (diff)
downloadlumina-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')
-rw-r--r--lumina-open/LFileDialog.cpp3
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"));
bgstack15