diff --git a/libkwineffects/kwineffects.cpp b/libkwineffects/kwineffects.cpp index 1f82da7b33..fcbea51480 100644 --- a/libkwineffects/kwineffects.cpp +++ b/libkwineffects/kwineffects.cpp @@ -211,7 +211,7 @@ public: qreal decorationOpacity; qreal saturation; qreal brightness; - qint32 screen; + int screen; }; WindowPaintData::WindowPaintData(EffectWindow* w) @@ -272,7 +272,7 @@ qreal WindowPaintData::brightness() const return d->brightness; } -qint32 WindowPaintData::screen() const +int WindowPaintData::screen() const { return d->screen; } @@ -297,7 +297,7 @@ void WindowPaintData::setBrightness(qreal brightness) d->brightness = brightness; } -void WindowPaintData::setScreen(qint32 screen) const +void WindowPaintData::setScreen(int screen) const { d->screen = screen; } diff --git a/libkwineffects/kwineffects.h b/libkwineffects/kwineffects.h index bd2e8f2897..e54d9d3e5e 100644 --- a/libkwineffects/kwineffects.h +++ b/libkwineffects/kwineffects.h @@ -1943,12 +1943,12 @@ public: * color correction lookup tables because they have different ICC profiles). * @return screen for which painting should be done */ - qint32 screen() const; + int screen() const; /** * @param screen New screen number * A value less than 0 will indicate that a default profile should be done. */ - void setScreen(qint32 screen) const; + void setScreen(int screen) const; WindowQuadList quads; /** * Shader to be used for rendering, if any.