Changeset 13779


Ignore:
Timestamp:
Jan 6, 2013, 3:30:41 PM (8 years ago)
Author:
jordan
Message:

(qt) #5213 "Incomplete update of details.cc" from rb07

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/details.cc

    r13683 r13779  
    11031103    s->setSingleStep( 5 );
    11041104    s->setRange( 0, INT_MAX );
    1105     s->setProperty( PREF_KEY, QString( "uploadLimit" ) );
     1105    s->setProperty( PREF_KEY, TR_KEY_uploadLimit );
    11061106    mySingleUpSpin = s;
    11071107    hig->addRow( c, s );
     
    11311131    ds = new QDoubleSpinBox( );
    11321132    ds->setRange( 0.5, INT_MAX );
    1133     ds->setProperty( PREF_KEY, QString( "seedRatioLimit" ) );
     1133    ds->setProperty( PREF_KEY, TR_KEY_seedRatioLimit );
    11341134    connect( ds, SIGNAL(editingFinished()), this, SLOT(onSpinBoxEditingFinished()));
    11351135    h->addWidget( myRatioSpin = ds );
     
    11471147    s->setSingleStep( 5 );
    11481148    s->setRange( 1, 9999 );
    1149     s->setProperty( PREF_KEY, QString( "seedIdleLimit" ) );
     1149    s->setProperty( PREF_KEY, TR_KEY_seedIdleLimit );
    11501150    connect( s, SIGNAL(editingFinished()), this, SLOT(onSpinBoxEditingFinished()));
    11511151    h->addWidget( myIdleSpin = s );
     
    11591159    s->setSingleStep( 5 );
    11601160    s->setRange( 1, 300 );
    1161     s->setProperty( PREF_KEY, QString( "peer-limit" ) );
     1161    s->setProperty( PREF_KEY, TR_KEY_peer_limit );
    11621162    connect( s, SIGNAL(editingFinished()), this, SLOT(onSpinBoxEditingFinished()));
    11631163    myPeerLimitSpin = s;
     
    12081208    p = new QPushButton();
    12091209    p->setIcon( getStockIcon( "list-add", QStyle::SP_DialogOpenButton ) );
    1210     p->setToolTip( "Add Tracker" );
     1210    p->setToolTip( tr( "Add Tracker" ));
    12111211    myAddTrackerButton = p;
    12121212    v2->addWidget( p, 1 );
     
    12151215    p = new QPushButton();
    12161216    p->setIcon( getStockIcon( "document-properties", QStyle::SP_DesktopIcon ) );
    1217     p->setToolTip( "Edit Tracker" );
     1217    p->setToolTip( tr( "Edit Tracker" ));
    12181218    myAddTrackerButton = p;
    12191219    p->setEnabled( false );
     
    12241224    p = new QPushButton();
    12251225    p->setIcon( getStockIcon( "list-remove", QStyle::SP_TrashIcon ) );
    1226     p->setToolTip( "Remove Trackers" );
     1226    p->setToolTip( tr( "Remove Trackers" ));
    12271227    p->setEnabled( false );
    12281228    myRemoveTrackerButton = p;
Note: See TracChangeset for help on using the changeset viewer.