Use #pragma once instead of include guards

This commit is contained in:
FranciscoPombal
2020-12-10 17:56:37 +00:00
committed by sledgehammer999
parent 0b42425db5
commit fdc64d9b38
122 changed files with 122 additions and 488 deletions

View File

@@ -26,8 +26,7 @@
* exception statement from your version.
*/
#ifndef TORRENTCONTENTMODEL_H
#define TORRENTCONTENTMODEL_H
#pragma once
#include <QAbstractItemModel>
#include <QVector>
@@ -89,5 +88,3 @@ private:
QVector<TorrentContentModelFile *> m_filesIndex;
QFileIconProvider *m_fileIconProvider;
};
#endif // TORRENTCONTENTMODEL_H