1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

* Use mobile wikipedia version for Footnotes.

This commit is contained in:
Christian Muehlhaeuser 2011-10-19 04:40:11 +02:00
parent 6134c4fdec
commit be0f2e7e45
2 changed files with 3 additions and 3 deletions

View File

@ -56,12 +56,12 @@ ContextWidget::ContextWidget( QWidget* parent )
TopTracksContext* ttc = new TopTracksContext();
RelatedArtistsContext* rac = new RelatedArtistsContext();
WebContext* wiki = new WikipediaContext();
WebContext* lastfm = new LastfmContext();
/*WebContext* lastfm = new LastfmContext();*/
m_views << ttc;
m_views << rac;
m_views << wiki;
m_views << lastfm;
/* m_views << lastfm;*/
foreach ( ContextPage* view, m_views )
{

View File

@ -28,7 +28,7 @@ WikipediaContext::setQuery( const Tomahawk::query_ptr& query )
return;
m_query = query;
webView()->load( QString( "http://en.wikipedia.org/w/index.php?printable=yes&title=%1" ).arg( query->artist() ) );
webView()->load( QString( "http://en.wikipedia.org/w/index.php?useformat=mobile&title=%1" ).arg( query->artist() ) );
}