Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 0640f69d authored by Ahmad Samir's avatar Ahmad Samir

Less (path)

parent bd3a4530
......@@ -79,8 +79,8 @@ QString HelpProtocol::langLookup(const QString &fname)
return path;
}
if ((path).endsWith(QLatin1String(".html"))) {
const QString file = path.leftRef((path).lastIndexOf(QLatin1Char('/'))) + QLatin1String("/index.docbook");
if (path.endsWith(QLatin1String(".html"))) {
const QString file = path.leftRef(path.lastIndexOf(QLatin1Char('/'))) + QLatin1String("/index.docbook");
//qDebug() << "Looking for help in: " << file;
info.setFile(file);
if (info.exists() && info.isFile() && info.isReadable()) {
......
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