mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 15:29:42 +01:00
Remove some warnings
This commit is contained in:
parent
6e46b03f86
commit
2603a7d28b
@ -129,7 +129,7 @@ LastFmConfig::loadHistory()
|
||||
void
|
||||
LastFmConfig::onHistoryLoaded()
|
||||
{
|
||||
int total = 0;
|
||||
uint total = 0;
|
||||
bool finished = false;
|
||||
QNetworkReply* reply = qobject_cast< QNetworkReply* >( sender() );
|
||||
|
||||
@ -152,8 +152,8 @@ LastFmConfig::onHistoryLoaded()
|
||||
{
|
||||
lastfm::XmlQuery stats = lfm.children( "recenttracks" ).first();
|
||||
|
||||
int page = stats.attribute( "page" ).toInt();
|
||||
total = stats.attribute( "totalPages" ).toInt();
|
||||
uint page = stats.attribute( "page" ).toUInt();
|
||||
total = stats.attribute( "totalPages" ).toUInt();
|
||||
|
||||
m_ui->progressBar->setMaximum( total );
|
||||
m_ui->progressBar->setValue( page );
|
||||
|
Loading…
x
Reference in New Issue
Block a user