mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Use #pragma once instead of include guards
This commit is contained in:
parent
aaeffe3846
commit
6152b83405
122 changed files with 122 additions and 488 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue