Changeset 14402


Ignore:
Timestamp:
Dec 26, 2014, 2:22:35 PM (8 years ago)
Author:
mikedld
Message:

Fix the rest of :: formatting in C++ code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/mainwin.cc

    r14394 r14402  
    700700  if (mode == "session-ratio")
    701701    {
    702       str = tr ("Ratio: %1").arg (Formatter:: ratioToString (mySession.getStats ().ratio));
     702      str = tr ("Ratio: %1").arg (Formatter::ratioToString (mySession.getStats ().ratio));
    703703    }
    704704  else if (mode == "session-transfer")
    705705    {
    706706      const tr_session_stats& stats (mySession.getStats ());
    707       str = tr ("Down: %1, Up: %2").arg (Formatter:: sizeToString (stats.downloadedBytes))
    708                                       .arg (Formatter:: sizeToString (stats.uploadedBytes));
     707      str = tr ("Down: %1, Up: %2").arg (Formatter::sizeToString (stats.downloadedBytes))
     708                                      .arg (Formatter::sizeToString (stats.uploadedBytes));
    709709    }
    710710  else if (mode == "total-transfer")
    711711    {
    712712      const tr_session_stats& stats (mySession.getCumulativeStats ());
    713       str = tr ("Down: %1, Up: %2").arg (Formatter:: sizeToString (stats.downloadedBytes))
    714                                    .arg (Formatter:: sizeToString (stats.uploadedBytes));
     713      str = tr ("Down: %1, Up: %2").arg (Formatter::sizeToString (stats.downloadedBytes))
     714                                   .arg (Formatter::sizeToString (stats.uploadedBytes));
    715715    }
    716716  else // default is "total-ratio"
    717717    {
    718       str = tr ("Ratio: %1").arg (Formatter:: ratioToString (mySession.getCumulativeStats ().ratio));
     718      str = tr ("Ratio: %1").arg (Formatter::ratioToString (mySession.getCumulativeStats ().ratio));
    719719    }
    720720
Note: See TracChangeset for help on using the changeset viewer.