~ubuntu-branches/debian/sid/acetoneiso/sid

« back to all changes in this revision

Viewing changes to acetoneiso/sources/history.h

  • Committer: Package Import Robot
  • Author(s): Nick Andrik
  • Date: 2013-01-18 16:07:42 UTC
  • Revision ID: package-import@ubuntu.com-20130118160742-z891e5u7o0668b43
Tags: 2.3-3
* Replace fuse-utils build-dep with fuse, since
 the package has been renamed (Closes: #698120)
* Update translations from Launchpad

* Support for hardening
  - Bumped compatibility level to 9
  - Bumped debhelper build-dep version to 9
  - Enabled hardening flags in debian/rules
* Updated debian/copyright in format 1.0
* Bumped standards version to 3.9.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
              return;
132
132
            }
133
133
            else {
134
 
              QMessageBox::information(this, "AcetoneISO",tr("All images in History fisically exist!"));  
 
134
              QMessageBox::information(this, "AcetoneISO",tr("All images in History physically exist!"));  
135
135
         
136
136
             }
137
137
          }
216
216
  }  
217
217
 
218
218
QMessageBox msgBox;
219
 
msgBox.setText(tr("You are about to delete ") + oggetto + (" ") + tr("\nThis will remove it from history and fisically delete it.") + tr("\nAre You sure?"));
 
219
msgBox.setText(tr("You are about to delete ") + oggetto + (" ") + tr("\nThis will remove it from history and physically delete it.") + tr("\nAre You sure?"));
220
220
QPushButton *connectButton = msgBox.addButton(tr("Yes"), QMessageBox::ActionRole);
221
221
QPushButton *connectButton2 = msgBox.addButton(tr("No way!"), QMessageBox::ActionRole);
222
222
msgBox.exec();
271
271
    history->clear();
272
272
  }
273
273
  else {
274
 
   history_remove_nonexistant_images(); 
 
274
   history_remove_nonexistent_images(); 
275
275
  }
276
276
  
277
277
fileT.close();  
278
278
}
279
279
//gestisce rimozione file inesistenti dalla cronologia. viene chiamato dalla funzione history_autoclean()
280
 
void acetoneiso::history_remove_nonexistant_images() {
 
280
void acetoneiso::history_remove_nonexistent_images() {
281
281
QDir HomeT = QDir::home();
282
282
QFile fileT(HomeT.path() + "/.acetoneiso/acetoneiso_advanced.conf");
283
283
fileT.open(QIODevice::ReadOnly | QIODevice::Text);