Skip to content

Commit

Permalink
fix: video file rename
Browse files Browse the repository at this point in the history
Change-Id: Idd73314d8194108b7f6cdcce783e623c727a82dd
  • Loading branch information
haruyukilxz committed Jul 10, 2018
1 parent dedaa55 commit babb585
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/modules/videowidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ VideoWidget::VideoWidget(bool autoPlay, QWidget *parent)
videoPath.cd("../share/dde-introduction");
#endif

const QString &file = videoPath.path() + QString("/15.6demo_%1.mp4").arg(locale.language() == QLocale::Chinese ? "zh-CN" : "en-US");
const QString &file = videoPath.path() + QString("/15.6demo_%1.mp4").arg(locale.language() == QLocale::Chinese ? "zh_CN" : "en_US");

connect(m_control, &DImageButton::clicked, this, &VideoWidget::onControlButtonClicked, Qt::QueuedConnection);
connect(&m_video->engine(), &dmr::PlayerEngine::stateChanged, this, &VideoWidget::updateControlButton, Qt::QueuedConnection);
Expand Down

0 comments on commit babb585

Please sign in to comment.