1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-13 20:39:57 +01:00

Update Qxt

This commit is contained in:
Uwe L. Korn 2013-06-14 20:29:59 +02:00
parent 2280f7858e
commit d89c18d18b

View File

@ -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();