Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielKauss committed Aug 20, 2024
1 parent 25b3f98 commit e0bbd1c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions include/InstrumentTrackWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ class InstrumentTrackWindow : public QWidget, public ModelView,
InstrumentTrackWindow( InstrumentTrackView * _tv );
~InstrumentTrackWindow() override;

// Is this needed?
/* void resizeEvent(QResizeEvent* event) override { m_instrumentView->resize(size()); } */
void resizeEvent(QResizeEvent* event) override;


Expand Down
5 changes: 0 additions & 5 deletions plugins/SlicerT/SlicerTView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,8 @@
#include "SlicerTView.h"

#include <QDropEvent>
#include <QFileInfo>
#include <cmath>
#include <qlayout.h>
#include <qpixmap.h>
#include <qpushbutton.h>
#include <qsizepolicy.h>
#include <qwidget.h>

#include "Clipboard.h"
#include "DataFile.h"
Expand Down
2 changes: 0 additions & 2 deletions plugins/SlicerT/SlicerTView.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ public slots:
void dropEvent(QDropEvent* de) override;

void paintEvent(QPaintEvent* pe) override;
/* QSize sizeHint() const override { return QSize(150, 150); } */
/* QSize minimumSizeHint() const override { return QSize(300, 300); } */
void resizeEvent(QResizeEvent* event) override;

private:
Expand Down
1 change: 0 additions & 1 deletion src/gui/EffectView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ EffectView::EffectView( Effect * _model, QWidget * _parent ) :
m_controlView(nullptr),
m_dragging(false)
{
/* resize(EffectView::DEFAULT_WIDTH, EffectView::DEFAULT_HEIGHT); */
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); // TODO: Actual effect resizing

// Disable effects that are of type "DummyEffect"
Expand Down

0 comments on commit e0bbd1c

Please sign in to comment.