Skip to content

Commit 836289e

Browse files
committed
Indent fix
1 parent e14e4b3 commit 836289e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/GUI/videoitem.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
VideoItem::VideoItem(const QString &file, QGraphicsItem *parent)
55
: QGraphicsVideoItem(parent), _pos(0), _eos(0)
66
{
7-
_player = new QMediaPlayer(this);
8-
_player->setVideoOutput(this);
9-
connect(_player, &QMediaPlayer::mediaStatusChanged, this,
10-
&VideoItem::mediaStatusChanged);
7+
_player = new QMediaPlayer(this);
8+
_player->setVideoOutput(this);
9+
connect(_player, &QMediaPlayer::mediaStatusChanged, this,
10+
&VideoItem::mediaStatusChanged);
1111
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
12-
_player->setMedia(QUrl::fromLocalFile(file));
12+
_player->setMedia(QUrl::fromLocalFile(file));
1313
#else
14-
_player->setSource(QUrl::fromLocalFile(file));
14+
_player->setSource(QUrl::fromLocalFile(file));
1515
#endif
16-
_player->pause();
16+
_player->pause();
1717
}
1818

1919
void VideoItem::seek(qint64 pos)

0 commit comments

Comments
 (0)