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,7 +25,8 @@
#include "common/define.h"
namespace olive {
namespace olive
{
/**
* @brief The view widget used when ProjectExplorer is in Tree View
@@ -33,14 +34,13 @@ namespace olive {
* A fairly simple subclass of QTreeView that provides a double clicked signal whether the index is valid or not
* (QAbstractItemView has a doubleClicked() signal but it's only emitted with a valid index).
*/
class ProjectExplorerTreeView : public QTreeView
{
Q_OBJECT
class ProjectExplorerTreeView : public QTreeView {
Q_OBJECT
public:
ProjectExplorerTreeView(QWidget* parent);
ProjectExplorerTreeView(QWidget *parent);
protected:
/**
/**
* @brief Double click event override
*
* Function that signals DoubleClickedView().
@@ -48,15 +48,15 @@ protected:
* FIXME: This code is the same as the code in ProjectExplorerListViewBase. Is there a way to merge these two through
*
*/
virtual void mouseDoubleClickEvent(QMouseEvent *event) override;
virtual void mouseDoubleClickEvent(QMouseEvent *event) override;
signals:
/**
/**
* @brief Unconditional double click signal
*
* Emits a signal when the view is double clicked but not on any particular item
*/
void DoubleClickedEmptyArea();
void DoubleClickedEmptyArea();
};
}