code cleanup
- use #pragma once instead of define
- Correct header typo in company name
Issue: #80939
Change-Id: I241bce32311936bb900937e9a16935d8f4ebdaca
diff --git a/historydelegate.h b/historydelegate.h
index 0056c89..2432599 100644
--- a/historydelegate.h
+++ b/historydelegate.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2015 by Savoir-Faire Linux *
+ * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* *
* This program is free software; you can redistribute it and/or modify *
@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/
-#ifndef HISTORYDELEGATE_H
-#define HISTORYDELEGATE_H
+#pragma once
#include <QObject>
#include <QString>
@@ -41,4 +40,3 @@
constexpr static int imgSize_ = 25;
};
-#endif // HISTORYDELEGATE_H