diff --git a/app/GridManager.cpp b/app/GridManager.cpp index 01ce3ad..be677fa 100644 --- a/app/GridManager.cpp +++ b/app/GridManager.cpp @@ -66,7 +66,6 @@ void GridManager::drawGrid( QPixmap &image, const QRect& area, QPainter *painter QPen mainPen = QPen( color, 1, Qt::SolidLine ); style = Solid; - hSpacing = vSpacing = 64; switch( style ) { case IntersectionDot: diff --git a/app/VideoHandle.cpp b/app/VideoHandle.cpp index 45dc638..0510b73 100644 --- a/app/VideoHandle.cpp +++ b/app/VideoHandle.cpp @@ -372,6 +372,7 @@ Void VideoHandle::openSubWindow( VideoSubWindow* subWindow ) { connect( subWindow->getViewArea(), SIGNAL( selectionChanged( QRect ) ), this, SLOT( updateSelectionArea( QRect ) ) ); subWindow->getViewArea()->setTool( m_uiViewTool ); + subWindow->getViewArea()->setGridVisible( m_arrayActions[SHOW_GRID_ACT]->isChecked() ); } Void VideoHandle::closeSubWindow( SubWindowAbstract* subWindow )