- BUGFIX: Fixed "Missing Input path" error when creating a torrent

- BUGFIX: Fixed some notification messages for torrent addition dialog
This commit is contained in:
Christophe Dumez
2007-10-12 11:50:02 +00:00
parent e7ac721b3c
commit 26a4040003
3 changed files with 8 additions and 5 deletions

View File

@@ -141,7 +141,7 @@ QStringList createtorrent::allItems(QListWidget *list){
// Main function that create a .torrent file
void createtorrent::on_createButton_clicked(){
QString input = textInputPath->text().trimmed();
if(input.isEmpty() == 0){
if(input.isEmpty()){
QMessageBox::critical(0, tr("No input path set"), tr("Please type an input path first"));
return;
}