change: change code style to Linux style except indent.

This commit is contained in:
Mike Solar
2025-08-03 03:09:40 +08:00
parent 65ab76edc8
commit 74f73ab3be
789 changed files with 77113 additions and 68888 deletions
@@ -25,18 +25,20 @@
#include "common/define.h"
namespace olive {
namespace olive
{
/**
* @brief The delegate that's used to draw items when ProjectExplorer is in List view
*/
class ProjectExplorerListViewItemDelegate : public QStyledItemDelegate
{
class ProjectExplorerListViewItemDelegate : public QStyledItemDelegate {
public:
ProjectExplorerListViewItemDelegate(QObject *parent = nullptr);
ProjectExplorerListViewItemDelegate(QObject *parent = nullptr);
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override;
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
virtual QSize sizeHint(const QStyleOptionViewItem &option,
const QModelIndex &index) const override;
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option,
const QModelIndex &index) const override;
};
}