should be const
This commit is contained in:
parent
11c59b7abe
commit
14b66445e3
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ Compositing::Compositing(QObject *parent)
|
|||
{
|
||||
}
|
||||
|
||||
bool Compositing::OpenGLIsUnsafe()
|
||||
bool Compositing::OpenGLIsUnsafe() const
|
||||
{
|
||||
KConfigGroup kwinConfig(KSharedConfig::openConfig("kwinrc"), "Compositing");
|
||||
return kwinConfig.readEntry("OpenGLIsUnsafe", true);
|
||||
|
|
|
@ -36,7 +36,7 @@ class Compositing : public QObject
|
|||
public:
|
||||
explicit Compositing(QObject *parent = 0);
|
||||
|
||||
Q_INVOKABLE bool OpenGLIsUnsafe();
|
||||
Q_INVOKABLE bool OpenGLIsUnsafe() const;
|
||||
Q_INVOKABLE bool OpenGLIsBroken();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in a new issue