mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Remove some warnings
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user