Qstring->[io]fstream

This commit is contained in:
Marc Glisse 2010-07-17 17:24:20 +00:00
parent 9cabed0fef
commit 7f071aadc3
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ private:
if (s == QString::null) return false;
curr_dir = s;
std::ifstream in_file(s);
std::ifstream in_file(s.ascii());
if (!in_file.is_open()) {
QMessageBox::warning(widget, "Open", "Can't open file");
return false;