Commit 39f759ef authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[STYLE #495] removed commented code and debug cout

parent 0af52f23
......@@ -734,13 +734,10 @@ void WMainWindow::openAboutDialog()
void WMainWindow::openOpenWalnutHelpDialog()
{
//read the file
//std::string filename( WPathHelper::getAppPath().file_string() + "/../../../src/gui/qt4/OpenWalnutHelp.html" );
std::string filename( WPathHelper::getAppPath().file_string() + "/../share/OpenWalnut/OpenWalnutHelp.html" );
std::ifstream input( filename.c_str() );
if ( !input.is_open() )
{
std::cout<< filename << std::endl;
throw WFileNotFound( std::string( "The project file \"" ) + filename +
std::string( "\" does not exist." ) );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment