diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-08-17 15:28:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-17 15:28:03 +0200 |
| commit | 12a5fd80bde3c1f5557ea647ebb127d37e74040d (patch) | |
| tree | ece90476f2ae92d463525f0ab17f2ceaecc4176d /Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp | |
| parent | b5951490f6f9199605895faa746fbd0b35d88094 (diff) | |
| parent | 8d184ab9bd92a702f85868002baf1874a7288adb (diff) | |
Merge pull request #7299 from spycrab/qt_compact
Qt/Debugger: Make spacing more compact
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp | 3 |
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++) { |
