mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Use mobile wikipedia version for Footnotes.
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
@@ -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() ) );
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user