Several msvc 9.0 related fixes

This commit is contained in:
Christophe Dumez
2010-06-05 13:33:25 +00:00
parent e8b3016771
commit 4001ed304e
12 changed files with 488 additions and 395 deletions

View File

@@ -297,7 +297,7 @@ protected slots:
default_path = QDir::homePath();
}
QString dir = QFileDialog::getExistingDirectory(this, tr("Choose save path"), QDir::homePath());
if(!dir.isNull() and QDir(dir).exists()) {
if(!dir.isNull() && QDir(dir).exists()) {
savepath_line->setText(dir);
}
}