mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-04 06:32:29 -06:00
Use #pragma once instead of include guards
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user