diff --git a/xdgshellclient.h b/xdgshellclient.h
index ed09c7a420..82a2e6bfb3 100644
--- a/xdgshellclient.h
+++ b/xdgshellclient.h
@@ -19,8 +19,8 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*********************************************************************/
-#ifndef KWIN_SHELL_CLIENT_H
-#define KWIN_SHELL_CLIENT_H
+
+#pragma once
#include "abstract_client.h"
#include
@@ -287,5 +287,3 @@ private:
}
Q_DECLARE_METATYPE(KWin::XdgShellClient *)
-
-#endif