Add include guard to headers

This commit is contained in:
Chocobo1 2018-09-26 23:48:19 +08:00 committed by sledgehammer999
commit b6addd304c
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2
2 changed files with 5 additions and 1 deletions

View file

@ -26,6 +26,8 @@
* exception statement from your version.
*/
#pragma once
// This file must be encoded in "UTF-8 with BOM"
#ifdef _MSC_VER
#pragma execution_character_set("utf-8")

View file

@ -26,7 +26,9 @@
* exception statement from your version.
*/
#include <QTreeView>
#pragma once
#include <QTreeView>
class CategoryFilterWidget : public QTreeView
{