code cleanup
- use #pragma once instead of define
- Correct header typo in company name
Issue: #80939
Change-Id: I241bce32311936bb900937e9a16935d8f4ebdaca
diff --git a/contactdelegate.h b/contactdelegate.h
index 30d857a..01976d1 100644
--- a/contactdelegate.h
+++ b/contactdelegate.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 CONTACTDELEGATE_H
-#define CONTACTDELEGATE_H
+#pragma once
#include <QObject>
#include <QString>
@@ -39,4 +38,3 @@
constexpr static int sizeImage_ = 49;
};
-#endif // CONTACTDELEGATE_H