Skip to content
Commit 9de3f762 authored by rk flx's avatar rk flx
Browse files

Fix Clang's mismatched tags warning instead of disabling it

Before ed35c62e added an inhibition to `CMakeLists.txt`, Clang
showed the following warning:
```
class 'QuickEditorPrivate' was previously declared as a struct
      [-Wmismatched-tags]
    Q_DECLARE_PRIVATE(QuickEditor);
    ^
```

This can be fixed properly by making `QuickEditorPrivate` a `class`
instead of a `struct`, which matches better with how `Q_DECLARE_PRIVATE`
works.

Test Plan:
Still compiles, without any extra warnings.
parent 7c88380f
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