Fix typo
This commit is contained in:
parent
2ed5b375ea
commit
bfab98839c
2 changed files with 6 additions and 6 deletions
|
@ -77,13 +77,13 @@ int Compositing::windowThumbnail() const
|
|||
return kwinConfig.readEntry("HiddenPreviews", 5) - 4;
|
||||
}
|
||||
|
||||
int Compositing::glSclaleFilter() const
|
||||
int Compositing::glScaleFilter() const
|
||||
{
|
||||
KConfigGroup kwinConfig(KSharedConfig::openConfig("kwinrc"), "Compositing");
|
||||
return kwinConfig.readEntry("GLTextureFilter", 2);
|
||||
}
|
||||
|
||||
bool Compositing::xrSclaleFilter() const
|
||||
bool Compositing::xrScaleFilter() const
|
||||
{
|
||||
KConfigGroup kwinConfig(KSharedConfig::openConfig("kwinrc"), "Compositing");
|
||||
return kwinConfig.readEntry("XRenderSmoothScale", false);
|
||||
|
|
|
@ -34,8 +34,8 @@ class Compositing : public QObject
|
|||
Q_OBJECT
|
||||
Q_PROPERTY(int animationSpeed READ animationSpeed CONSTANT);
|
||||
Q_PROPERTY(int windowThumbnail READ windowThumbnail CONSTANT);
|
||||
Q_PROPERTY(int glSclaleFilter READ glSclaleFilter CONSTANT);
|
||||
Q_PROPERTY(bool xrSclaleFilter READ xrSclaleFilter CONSTANT);
|
||||
Q_PROPERTY(int glScaleFilter READ glScaleFilter CONSTANT);
|
||||
Q_PROPERTY(bool xrScaleFilter READ xrScaleFilter CONSTANT);
|
||||
Q_PROPERTY(bool unredirectFullscreen READ unredirectFullscreen CONSTANT);
|
||||
Q_PROPERTY(int glSwapStrategy READ glSwapStrategy CONSTANT);
|
||||
Q_PROPERTY(bool glColorCorrection READ glColorCorrection CONSTANT);
|
||||
|
@ -46,8 +46,8 @@ public:
|
|||
Q_INVOKABLE bool OpenGLIsBroken();
|
||||
int animationSpeed() const;
|
||||
int windowThumbnail() const;
|
||||
int glSclaleFilter() const;
|
||||
bool xrSclaleFilter() const;
|
||||
int glScaleFilter() const;
|
||||
bool xrScaleFilter() const;
|
||||
bool unredirectFullscreen() const;
|
||||
int glSwapStrategy() const;
|
||||
bool glColorCorrection() const;
|
||||
|
|
Loading…
Reference in a new issue