mirror of https://github.com/CGAL/cgal
Qstring->[io]fstream
This commit is contained in:
parent
9cabed0fef
commit
7f071aadc3
|
|
@ -99,7 +99,7 @@ private:
|
||||||
if (s == QString::null) return false;
|
if (s == QString::null) return false;
|
||||||
curr_dir = s;
|
curr_dir = s;
|
||||||
|
|
||||||
std::ifstream in_file(s);
|
std::ifstream in_file(s.ascii());
|
||||||
if (!in_file.is_open()) {
|
if (!in_file.is_open()) {
|
||||||
QMessageBox::warning(widget, "Open", "Can't open file");
|
QMessageBox::warning(widget, "Open", "Can't open file");
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue