Switch XdgShellClient header to pragma once

This way we don't have to manually update #ifdef if the filename gets changed.
This commit is contained in:
Vlad Zahorodnii 2019-09-15 12:44:33 +03:00
parent 1571fb5b71
commit e0711e3c43

View file

@ -19,8 +19,8 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*********************************************************************/ *********************************************************************/
#ifndef KWIN_SHELL_CLIENT_H
#define KWIN_SHELL_CLIENT_H #pragma once
#include "abstract_client.h" #include "abstract_client.h"
#include <KWayland/Server/xdgshell_interface.h> #include <KWayland/Server/xdgshell_interface.h>
@ -287,5 +287,3 @@ private:
} }
Q_DECLARE_METATYPE(KWin::XdgShellClient *) Q_DECLARE_METATYPE(KWin::XdgShellClient *)
#endif