Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 2551eeeb authored by Laurent Montel's avatar Laurent Montel 😁

Use int (remove warning)

parent b1fd4b7f
......@@ -397,7 +397,7 @@ void FancyPlotter::applyStyle()
font.setPointSize(KSGRD::Style->fontSize() );
mPlotter->setFont( font );
for ( int i = 0; i < mPlotter->numBeams() &&
(unsigned int)i < KSGRD::Style->numSensorColors(); ++i ) {
i < KSGRD::Style->numSensorColors(); ++i ) {
setBeamColor(i, KSGRD::Style->sensorColor(i));
}
......
......@@ -110,7 +110,7 @@ const QColor& StyleEngine::sensorColor( int pos )
return dummy;
}
uint StyleEngine::numSensorColors() const
int StyleEngine::numSensorColors() const
{
return mSensorColors.count();
}
......
......@@ -48,7 +48,7 @@ class StyleEngine : public QObject
uint fontSize() const;
const QColor& sensorColor( int pos );
uint numSensorColors() const;
int numSensorColors() const;
private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment