From e0711e3c43113b6209af8078cbf9428cbb067ec4 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Sun, 15 Sep 2019 12:44:33 +0300 Subject: [PATCH] Switch XdgShellClient header to pragma once This way we don't have to manually update #ifdef if the filename gets changed. --- xdgshellclient.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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