mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Update Qxt
This commit is contained in:
@@ -107,7 +107,9 @@ void QxtWebSlotService::pageRequestedEvent(QxtWebRequestEvent* event)
|
|||||||
QByteArray action = "index";
|
QByteArray action = "index";
|
||||||
if (args.count())
|
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())
|
if (action.trimmed().isEmpty())
|
||||||
action = "index";
|
action = "index";
|
||||||
args.removeFirst();
|
args.removeFirst();
|
||||||
|
Reference in New Issue
Block a user