From 6e418f6b7127e44a7d89fb8c8637588a9a791e04 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Tue, 30 Jan 2018 20:15:37 +0000 Subject: [PATCH] Disable scroll bars --- app/VideoSubWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/VideoSubWindow.cpp b/app/VideoSubWindow.cpp index f7a9937..4748c33 100644 --- a/app/VideoSubWindow.cpp +++ b/app/VideoSubWindow.cpp @@ -162,8 +162,8 @@ VideoSubWindow::VideoSubWindow( enum VideoSubWindowCategories category, QWidget* connect( m_cViewArea, SIGNAL( positionChanged( const QPoint& ) ), this, SLOT( updatePixelValueStatusBar( const QPoint& ) ) ); - // m_pcScrollArea->setHorizontalScrollBarPolicy( Qt::ScrollBarAlwaysOff ); - // m_pcScrollArea->setVerticalScrollBarPolicy( Qt::ScrollBarAlwaysOff ); + m_pcScrollArea->setHorizontalScrollBarPolicy( Qt::ScrollBarAlwaysOff ); + m_pcScrollArea->setVerticalScrollBarPolicy( Qt::ScrollBarAlwaysOff ); // Define the cViewArea as the widget inside the scroll area m_pcScrollArea->setWidget( m_cViewArea );