message: Added missing icon and Null Reciever from comparing INFO in destructor
diff: @@ -27,7 +27,9 @@ MainUI::MainUI() : QDialog(), ui(new Ui::MainUI){
  MainUI::~MainUI(){
  terminate_thread = true;
  - if(INFO!=0){ delete INFO; }
  + disconnect(this, SIGNAL(folder_size_changed(quint64, quint64, quint64, bool )) );
  + if(!INFO){ delete INFO; }
  + this->close();
  }
  //=============
  @@ -51,7 +53,6 @@ void MainUI::LoadFile(QString path, QString type){
  if(type=="APP"){ INFO->XDG()->type = XDGDesktop::APP; }
  else if(type=="LINK"){ INFO->XDG()->type = XDGDesktop::LINK; }
  }
  -
  //First load the general file information
  if(!INFO->filePath().isEmpty()){
  ui->label_file_name->setText( INFO->fileName() );
  @@ -157,7 +158,7 @@ void MainUI::UpdateIcons(){
  this->setWindowIcon(LXDG::findIcon("document-preview","unknown"));
  ui->push_close->setIcon( LXDG::findIcon("dialog-close","") );
  ui->push_save->setIcon( LXDG::findIcon("document-save","") );
  - ui->tool_xdg_getCommand->setIcon( LXDG::findIcon("edit-find-project","") );
  + ui->tool_xdg_getCommand->setIcon( LXDG::findIcon("edit-find-page","") );
  ui->tool_xdg_getDir->setIcon( LXDG::findIcon("document-open","") );
  }
  @@ -234,7 +235,6 @@ void MainUI::on_push_close_clicked(){
  if(ui->push_save->isEnabled()){
  //Still have unsaved changes
  //TO-DO - prompt for whether to save the changes
  -
  }
  this->close();
  }
  