Changeset e3d9697 in OpenModelica


Ignore:
Timestamp:
2016-04-06T05:59:15+02:00 (8 years ago)
Author:
Adeel Asghar <adeel.asghar@…>
Branches:
Added-citation-metadata, maintenance/v1.14, maintenance/v1.15, maintenance/v1.16, maintenance/v1.17, maintenance/v1.18, maintenance/v1.19, maintenance/v1.20, maintenance/v1.21, maintenance/v1.22, maintenance/v1.23, master, omlib-staging
Children:
dcfab7d
Parents:
b791c33
Message:

avoid some more warnings.

Location:
OMEdit/OMEditGUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OMEdit/OMEditGUI/Component/Component.cpp

    rf806cd87 re3d9697  
    17351735  if (coOrdinateSystem.getPreserveAspectRatio()) {
    17361736    qreal factor = qMax(fabs(mXFactor), fabs(mYFactor));
    1737     mXFactor = mXFactor < 0 ? mXFactor = factor * -1 : mXFactor = factor;
    1738     mYFactor = mYFactor < 0 ? mYFactor = factor * -1 : mYFactor = factor;
     1737    mXFactor = mXFactor < 0 ? factor * -1 : factor;
     1738    mYFactor = mYFactor < 0 ? factor * -1 : factor;
    17391739  }
    17401740  // Apply the transformation to the temporary polygon using the new scaling factors
  • OMEdit/OMEditGUI/TLM/TLMCoSimulationDialog.cpp

    r373069e9 re3d9697  
    279279    int d;
    280280    d = WSAStartup(0x0101,&ws);
     281    Q_UNUSED(d);
    281282#endif
    282283    gethostname(myname, MAXHOSTNAME);
Note: See TracChangeset for help on using the changeset viewer.