Commit bbba4940 authored by Matthias Möller's avatar Matthias Möller
Browse files

Help Browser shows message if page wasn't found

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14358 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8462177c
...@@ -129,7 +129,7 @@ QVariant HelpBrowser::loadResource (int /*_type*/, const QUrl& _url) { ...@@ -129,7 +129,7 @@ QVariant HelpBrowser::loadResource (int /*_type*/, const QUrl& _url) {
return QVariant(helpEngine_->fileData(newFileUrl)); return QVariant(helpEngine_->fileData(newFileUrl));
else { else {
std::cerr << "Unable to find file at url : " << newUrl.toString().toStdString() << std::endl; std::cerr << "Unable to find file at url : " << newUrl.toString().toStdString() << std::endl;
return QVariant(); return QVariant("Page not Found.");
} }
} }
......
Supports Markdown
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