From d41a9d8dce2376896554af65f1b2818c3f5070fb Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Fri, 14 Jun 2013 20:29:59 +0200 Subject: [PATCH] Update Qxt --- thirdparty/qxt/qxtweb-standalone/web/qxtwebslotservice.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/thirdparty/qxt/qxtweb-standalone/web/qxtwebslotservice.cpp b/thirdparty/qxt/qxtweb-standalone/web/qxtwebslotservice.cpp index bca88a58b..37120d05d 100644 --- a/thirdparty/qxt/qxtweb-standalone/web/qxtwebslotservice.cpp +++ b/thirdparty/qxt/qxtweb-standalone/web/qxtwebslotservice.cpp @@ -107,7 +107,9 @@ void QxtWebSlotService::pageRequestedEvent(QxtWebRequestEvent* event) QByteArray action = "index"; if (args.count()) { - action = args.at(0).toUtf8(); + // Substitute hyphens for underscores to be able + // to dispatch hyphenated paths. + action = args.at(0).toUtf8().replace('-', '_'); if (action.trimmed().isEmpty()) action = "index"; args.removeFirst();