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:
parent
6134c4fdec
commit
be0f2e7e45
@ -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() ) );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user