Fix clang warning

The warning itself:

> /home/tsdgeos/devel/kde/layer-shell-qt/src/qwaylandlayershell_p.h:23:24: note: did you mean class here?
>      QWaylandLayerShell(struct QtWayland::zwlr_layer_shell_v1 *shell);
This commit is contained in:
Vlad Zahorodnii 2021-04-05 09:23:52 +03:00
parent 82fec33fc6
commit 840f40db73
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@
namespace LayerShellQt {
QWaylandLayerShell::QWaylandLayerShell(struct QtWayland::zwlr_layer_shell_v1 *shell)
QWaylandLayerShell::QWaylandLayerShell(QtWayland::zwlr_layer_shell_v1 *shell)
: QtWayland::zwlr_layer_shell_v1(shell->object())
{
}

View file

@ -20,7 +20,7 @@ namespace LayerShellQt {
class LAYERSHELLQT_EXPORT QWaylandLayerShell : public QtWayland::zwlr_layer_shell_v1
{
public:
QWaylandLayerShell(struct QtWayland::zwlr_layer_shell_v1 *shell);
QWaylandLayerShell(QtWayland::zwlr_layer_shell_v1 *shell);
virtual ~QWaylandLayerShell();
QWaylandLayerSurface *createLayerSurface(