Changeset 11054 for trunk/qt/details.cc
- Timestamp:
- Jul 25, 2010, 8:36:33 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt/details.cc
r11047 r11054 382 382 else { 383 383 bool isMixed = false; 384 int ratioType = torrents.first()->ratio();384 int ratioType = (int) torrents.first()->ratio(); 385 385 if( ratioType > 0 ) ratioType = 0; 386 386 foreach( const Torrent *t, torrents ) … … 637 637 638 638 mySingleDownSpin->blockSignals( true ); 639 mySingleDownSpin->setValue( tor->downloadLimit().KBps() );639 mySingleDownSpin->setValue( (int)tor->downloadLimit().KBps() ); 640 640 mySingleDownSpin->blockSignals( false ); 641 641 642 642 mySingleUpSpin->blockSignals( true ); 643 mySingleUpSpin->setValue( tor->uploadLimit().KBps() );643 mySingleUpSpin->setValue( (int)tor->uploadLimit().KBps() ); 644 644 mySingleUpSpin->blockSignals( false ); 645 645
Note: See TracChangeset
for help on using the changeset viewer.