Skip to content

Commit

Permalink
Remove extra semicolon after macros
Browse files Browse the repository at this point in the history
  • Loading branch information
kristiankoskimaki committed Sep 11, 2019
1 parent 6d6e539 commit 0c2d301
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion comparison.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ void Comparison::on_thresholdSlider_valueChanged(const int &value)

void Comparison::resizeEvent(QResizeEvent *event)
{
Q_UNUSED(event);
Q_UNUSED(event)

if(ui->leftFileName->text().isEmpty() || _leftVideo >= _prefs._numberOfVideos || _rightVideo >= _prefs._numberOfVideos)
return; //automatic initial resize event can happen before closing when values went over limit
Expand Down
4 changes: 2 additions & 2 deletions comparison.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ class ClickableLabel : public QLabel
{
Q_OBJECT
public:
explicit ClickableLabel(QWidget *parent) { Q_UNUSED (parent); }
explicit ClickableLabel(QWidget *parent) { Q_UNUSED (parent) }
protected:
void mousePressEvent(QMouseEvent *event) { Q_UNUSED (event); emit clicked(); }
void mousePressEvent(QMouseEvent *event) { Q_UNUSED (event) emit clicked(); }
signals:
void clicked();
};
Expand Down
2 changes: 1 addition & 1 deletion mainwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class MainWindow : public QMainWindow

private slots:
void deleteTemporaryFiles() const;
void closeEvent(QCloseEvent *event) { Q_UNUSED (event); _userPressedStop = true; }
void closeEvent(QCloseEvent *event) { Q_UNUSED (event) _userPressedStop = true; }
void dragEnterEvent(QDragEnterEvent *event) { if(event->mimeData()->hasUrls()) event->acceptProposedAction(); }
void dropEvent(QDropEvent *event);
void loadExtensions();
Expand Down

0 comments on commit 0c2d301

Please sign in to comment.