diff --git a/app/VideoHandle.cpp b/app/VideoHandle.cpp index a3a383f..144f829 100644 --- a/app/VideoHandle.cpp +++ b/app/VideoHandle.cpp @@ -121,6 +121,7 @@ QToolBar* VideoHandle::createToolBar() m_toolbarVideo->addAction( m_arrayActions[STOP_ACT] ); QLabel* pcLockLabel = new QLabel( "PlayingLock", this ); + pcLockLabel->setAlignment( Qt::AlignCenter ); m_arrayActions[VIDEO_LOCK_ACT] = m_toolbarVideo->addWidget( pcLockLabel ); m_arrayActions[VIDEO_LOCK_ACT]->setVisible( false ); diff --git a/app/VideoHandle.h b/app/VideoHandle.h index 7a92a75..8a8c23b 100644 --- a/app/VideoHandle.h +++ b/app/VideoHandle.h @@ -37,7 +37,7 @@ #include "WidgetFrameNumber.h" #include "FramePropertiesSidebar.h" -#define _CONTROL_PLAYING_TIME_ 1 +#define _CONTROL_PLAYING_TIME_ 0 class QElapsedTimer; diff --git a/app/VideoSubWindow.cpp b/app/VideoSubWindow.cpp index 1449627..5ff8974 100644 --- a/app/VideoSubWindow.cpp +++ b/app/VideoSubWindow.cpp @@ -119,8 +119,10 @@ VideoSubWindow::~VideoSubWindow() Void VideoSubWindow::loadAll() { + QApplication::setOverrideCursor( Qt::WaitCursor ); m_pCurrStream->loadAll(); refreshFrame(); + QApplication::restoreOverrideCursor(); } Void VideoSubWindow::refreshSubWindow()