Changeset 9383 in ntrip for trunk/BNC/qwt/qwt_analog_clock.cpp


Ignore:
Timestamp:
Mar 19, 2021, 9:15:03 AM (3 years ago)
Author:
stoecker
Message:

update to qwt verion 6.1.1 to fix build with newer Qt5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/qwt/qwt_analog_clock.cpp

    r8127 r9383  
    5353    setTotalSteps( 60 );
    5454
    55     const int secondsPerHour = 60.0 * 60.0; 
     55    const int secondsPerHour = 60.0 * 60.0;
    5656
    5757    QList<double> majorTicks;
     
    7373
    7474    QColor knobColor = palette().color( QPalette::Active, QPalette::Text );
    75     knobColor = knobColor.dark( 120 );
     75    knobColor = knobColor.darker( 120 );
    7676
    7777    QColor handColor;
     
    8383        {
    8484            width = 2;
    85             handColor = knobColor.dark( 120 );
     85            handColor = knobColor.darker( 120 );
    8686        }
    8787        else
     
    201201    {
    202202        const double hours = value() / ( 60.0 * 60.0 );
    203         const double minutes = 
     203        const double minutes =
    204204            ( value() - qFloor(hours) * 60.0 * 60.0 ) / 60.0;
    205205        const double seconds = value() - qFloor(hours) * 60.0 * 60.0
     
    214214        {
    215215            const double d = 360.0 - angle[hand] - origin();
    216             drawHand( painter, static_cast<Hand>( hand ), 
     216            drawHand( painter, static_cast<Hand>( hand ),
    217217                center, radius, d, colorGroup );
    218218        }
Note: See TracChangeset for help on using the changeset viewer.