From 8d184ab9bd92a702f85868002baf1874a7288adb Mon Sep 17 00:00:00 2001 From: spycrab Date: Thu, 2 Aug 2018 21:50:23 +0200 Subject: Qt/Debugger: Make spacing more compact --- Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp') diff --git a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp index af39c061e1..d9c6cbaf49 100644 --- a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp @@ -38,7 +38,8 @@ CodeViewWidget::CodeViewWidget() setContextMenuPolicy(Qt::CustomContextMenu); setSelectionMode(QAbstractItemView::SingleSelection); setSelectionBehavior(QAbstractItemView::SelectRows); - verticalScrollBar()->setHidden(true); + + setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); for (int i = 0; i < columnCount(); i++) { -- cgit v1.2.3