clang-format: Apply formatting
Code submissions have continually suffered from formatting inconsistencies that constantly have to be addressed. Using clang-format simplifies this by making code formatting more consistent, and allows automation of the code formatting so that maintainers can focus more on the code itself instead of code formatting.
This commit is contained in:
@@ -35,12 +35,12 @@ class OBSBasicInteraction : public QDialog {
|
||||
Q_OBJECT
|
||||
|
||||
private:
|
||||
OBSBasic *main;
|
||||
OBSBasic *main;
|
||||
|
||||
std::unique_ptr<Ui::OBSBasicInteraction> ui;
|
||||
OBSSource source;
|
||||
OBSSignal removedSignal;
|
||||
OBSSignal renamedSignal;
|
||||
OBSSource source;
|
||||
OBSSignal removedSignal;
|
||||
OBSSignal renamedSignal;
|
||||
std::unique_ptr<OBSEventFilter> eventFilter;
|
||||
|
||||
static void SourceRemoved(void *data, calldata_t *params);
|
||||
@@ -69,13 +69,10 @@ protected:
|
||||
|
||||
typedef std::function<bool(QObject *, QEvent *)> EventFilterFunc;
|
||||
|
||||
class OBSEventFilter : public QObject
|
||||
{
|
||||
class OBSEventFilter : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
OBSEventFilter(EventFilterFunc filter_)
|
||||
: filter(filter_)
|
||||
{}
|
||||
OBSEventFilter(EventFilterFunc filter_) : filter(filter_) {}
|
||||
|
||||
protected:
|
||||
bool eventFilter(QObject *obj, QEvent *event)
|
||||
|
Reference in New Issue
Block a user