mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 00:47:21 -06:00
Use #pragma once instead of include guards
This commit is contained in:
@@ -26,8 +26,7 @@
|
||||
* exception statement from your version.
|
||||
*/
|
||||
|
||||
#ifndef PREVIEWLISTDELEGATE_H
|
||||
#define PREVIEWLISTDELEGATE_H
|
||||
#pragma once
|
||||
|
||||
#include <QItemDelegate>
|
||||
|
||||
@@ -43,5 +42,3 @@ private:
|
||||
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
|
||||
QWidget *createEditor(QWidget *, const QStyleOptionViewItem &, const QModelIndex &) const override;
|
||||
};
|
||||
|
||||
#endif // PREVIEWLISTDELEGATE_H
|
||||
|
||||
Reference in New Issue
Block a user