diff --git a/src/interface/Interface_graphic.cpp b/src/interface/Interface_graphic.cpp index cc64ff9baeae4f682112cfa6b9c0903340fdebdc..332df7a8e8035b1540d342638383e973126756ea 100644 --- a/src/interface/Interface_graphic.cpp +++ b/src/interface/Interface_graphic.cpp @@ -650,11 +650,10 @@ bool Interface_graphic::open_trace(const QString &filepath) { return false; } - information(string("File opened: ") + filepath.toStdString()); + information(string("Opening file ") + filepath.toStdString() + string("...")); Trace *trace = _core->build_trace(filepath.toStdString()); if (nullptr == trace) { - on_quit_triggered(); return false; } diff --git a/src/parser/ParserFactory.cpp b/src/parser/ParserFactory.cpp index b55167a414c7772553398dff361528fde76a93ff..8bbc692c1c1e1347d33ca2ff5843ae77078bcc07 100644 --- a/src/parser/ParserFactory.cpp +++ b/src/parser/ParserFactory.cpp @@ -82,7 +82,7 @@ bool ParserFactory::create(Parser **parser, #ifdef WITH_OTF2 *parser = new ParserOTF2(filename); #else - *Message::get_instance() << "OTF2 parser was not compiled. Use parser Paje by default" << Message::endw; + *Message::get_instance() << "OTF2 parser was not compiled." << Message::endw; return false; #endif // WITH_OTF2 } @@ -90,7 +90,7 @@ bool ParserFactory::create(Parser **parser, #ifdef VITE_ENABLE_TAU *parser = new ParserTau(filename); #else - *Message::get_instance() << "Tau parser was not compiled. Use parser Paje by default" << Message::endw; + *Message::get_instance() << "Tau parser was not compiled." << Message::endw; return false; #endif // VITE_ENABLE_TAU } @@ -99,6 +99,7 @@ bool ParserFactory::create(Parser **parser, *parser = new ParserSplitted(filename); #else *Message::get_instance() << "Boost serialization was not compiled. We cannot parse .vite files" << Message::endw; + return false; #endif // BOOST_SERIALIZE } }