change: change code style to Linux style except indent.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user