mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-14 12:59:41 +01:00
Update Qxt
This commit is contained in:
parent
2280f7858e
commit
d89c18d18b
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user