From cf070e6e92c7b954f92694306567f87ac4d51e76 Mon Sep 17 00:00:00 2001 From: vladest Date: Mon, 23 Apr 2018 18:56:16 +0200 Subject: [PATCH] Cleanup --- interface/src/ui/PreferencesDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/ui/PreferencesDialog.cpp b/interface/src/ui/PreferencesDialog.cpp index 8067a27fb0..4c233b986c 100644 --- a/interface/src/ui/PreferencesDialog.cpp +++ b/interface/src/ui/PreferencesDialog.cpp @@ -298,7 +298,7 @@ void setupPreferences() { { static const int MIN_PORT_NUMBER { 0 }; static const int MAX_PORT_NUMBER { 65535 }; - auto getter = [nodelist] { qWarning() << "vladest: port" << static_cast(nodelist->getSocketLocalPort()); return static_cast(nodelist->getSocketLocalPort()); }; + auto getter = [nodelist] { return static_cast(nodelist->getSocketLocalPort()); }; auto setter = [nodelist](int preset) { nodelist->setSocketLocalPort(static_cast(preset)); }; auto preference = new IntSpinnerPreference(NETWORKING, "Listening Port", getter, setter); preference->setMin(MIN_PORT_NUMBER);