summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2018-08-02 21:50:23 +0200
committerspycrab <spycrab@users.noreply.github.com>2018-08-15 19:26:04 +0200
commit8d184ab9bd92a702f85868002baf1874a7288adb (patch)
tree26a6e1b5059eb724500971f1af995fc95c9c9e5a /Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
parent6d56b033041c5f0ae4dc4452563ed8862e867634 (diff)
Qt/Debugger: Make spacing more compact
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp3
1 files changed, 2 insertions, 1 deletions
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++)
{