diff --git a/data/www/index.html b/data/www/index.html new file mode 100644 index 000000000..31f271199 --- /dev/null +++ b/data/www/index.html @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + Tomahawk + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+ Now playing: +

+
+ + + +
+
+
+
+
+
+ + + + + diff --git a/resources.qrc b/resources.qrc index e322813db..3c36da712 100644 --- a/resources.qrc +++ b/resources.qrc @@ -191,5 +191,6 @@ data/js/cryptojs/sha512.js data/js/cryptojs/tripledes.js data/js/cryptojs-core.js + data/www/index.html diff --git a/src/libtomahawk-playdarapi/Api_v1.cpp b/src/libtomahawk-playdarapi/Api_v1.cpp index 8ab71ea2f..c04c9451f 100644 --- a/src/libtomahawk-playdarapi/Api_v1.cpp +++ b/src/libtomahawk-playdarapi/Api_v1.cpp @@ -507,7 +507,9 @@ Api_v1::sendWebpageWithArgs( QxtWebRequestEvent* event, const QString& filenameS void Api_v1::index( QxtWebRequestEvent* event ) { - send404( event ); + QString indexPage = RESPATH "www/index.html"; + QHash< QString, QString > args; + sendWebpageWithArgs( event, indexPage, args ); } void