Skip to content

Commit

Permalink
Mark explicit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederik Schwarzer committed Mar 8, 2016
1 parent c545e09 commit fa5158d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/highlightanimation.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class HighlightAnimation : public QObject, public QGraphicsLineItem
Q_OBJECT
Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity)
public:
HighlightAnimation(const QLineF &line);
explicit HighlightAnimation(const QLineF &line);
};

#endif // HIGHLIGHTANIMATION_H
2 changes: 1 addition & 1 deletion src/themegraphicsitems.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class KSquaresSquareItem : public QGraphicsRectItem
{
public:
KSquaresSquareItem(QGraphicsItem *parent = 0);
explicit KSquaresSquareItem(QGraphicsItem *parent = 0);
~KSquaresSquareItem();

void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
Expand Down

0 comments on commit fa5158d

Please sign in to comment.