Changeset 14610


Ignore:
Timestamp:
Dec 6, 2015, 6:02:37 PM (7 years ago)
Author:
jordan
Message:

in Torrent::setDouble(), don't compare doubles directly as a bool

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/Torrent.cc

    r14539 r14610  
    195195  assert (myProperties[i].type == QVariant::Double);
    196196
    197   if (myValues[i].isNull() || myValues[i].toDouble()!=value)
     197  if (myValues[i] != value)
    198198    {
    199199      myValues[i].setValue (value);
Note: See TracChangeset for help on using the changeset viewer.