summaryrefslogtreecommitdiff
path: root/ZeroTierUI/mainwindow.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-12-19 16:23:41 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-12-19 16:23:41 -0800
commit704ee6f6c7114392ccd53c2fd7b92f2f22629137 (patch)
treee5646bc65cd9ee2f9827f8d59f1ea91297c64671 /ZeroTierUI/mainwindow.cpp
parentf311be96a9b8290266dd1b75db40d78ff221e8b4 (diff)
downloadinfinitytier-704ee6f6c7114392ccd53c2fd7b92f2f22629137.tar.gz
infinitytier-704ee6f6c7114392ccd53c2fd7b92f2f22629137.zip
More UI tweaks...
Diffstat (limited to 'ZeroTierUI/mainwindow.cpp')
-rw-r--r--ZeroTierUI/mainwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ZeroTierUI/mainwindow.cpp b/ZeroTierUI/mainwindow.cpp
index fdc70f74..255b3989 100644
--- a/ZeroTierUI/mainwindow.cpp
+++ b/ZeroTierUI/mainwindow.cpp
@@ -20,6 +20,7 @@
#include <QProcess>
#include <QStringList>
#include <QVBoxLayout>
+#include <QScrollBar>
// Globally visible
ZeroTier::Node::LocalClient *zeroTierClient = (ZeroTier::Node::LocalClient *)0;
@@ -57,6 +58,9 @@ MainWindow::MainWindow(QWidget *parent) :
mainWindow = this;
this->cyclesSinceResponseFromService = 0;
+ if (ui->networkListWidget->verticalScrollBar())
+ ui->networkListWidget->verticalScrollBar()->setSingleStep(8);
+
QWidgetList widgets = this->findChildren<QWidget*>();
foreach(QWidget* widget, widgets)
widget->setAttribute(Qt::WA_MacShowFocusRect,false);