Use #pragma once instead of include guards

This commit is contained in:
FranciscoPombal
2020-12-10 17:56:37 +00:00
parent aaeffe3846
commit 6152b83405
122 changed files with 122 additions and 488 deletions

View File

@@ -27,8 +27,7 @@
* exception statement from your version.
*/
#ifndef PLUGINSELECTDIALOG_H
#define PLUGINSELECTDIALOG_H
#pragma once
#include <QDialog>
#include <QStringList>
@@ -97,5 +96,3 @@ private:
int m_asyncOps;
int m_pendingUpdates;
};
#endif // PLUGINSELECTDIALOG_H

View File

@@ -26,8 +26,7 @@
* exception statement from your version.
*/
#ifndef PLUGINSOURCEDIALOG_H
#define PLUGINSOURCEDIALOG_H
#pragma once
#include <QDialog>
@@ -55,5 +54,3 @@ private slots:
private:
Ui::PluginSourceDialog *m_ui;
};
#endif // PLUGINSOURCEDIALOG_H

View File

@@ -26,8 +26,7 @@
* exception statement from your version.
*/
#ifndef SEARCHSORTMODEL_H
#define SEARCHSORTMODEL_H
#pragma once
#include <QSortFilterProxyModel>
#include <QStringList>
@@ -96,5 +95,3 @@ private:
int m_minLeeches, m_maxLeeches;
qint64 m_minSize, m_maxSize;
};
#endif // SEARCHSORTMODEL_H