From 4e8e2eb0d466cb76223afbf798a50ee7afe43b1a Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Tue, 1 Apr 2014 12:35:12 +0200 Subject: [PATCH] refs #198 , using settings with GUI --- samples/blackgui/mainwindow.h | 2 +- samples/blackgui/mainwindow.ui | 12 ++++++------ samples/blackgui/mainwindow_settings.cpp | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/samples/blackgui/mainwindow.h b/samples/blackgui/mainwindow.h index 74edce924..e7b6ee02d 100644 --- a/samples/blackgui/mainwindow.h +++ b/samples/blackgui/mainwindow.h @@ -424,7 +424,7 @@ private slots: void alterTrafficServer(); //! \brief Network settings have been changed - void changedSettings(); + void changedSettings(uint typeValue); /*! * \brief Update timer diff --git a/samples/blackgui/mainwindow.ui b/samples/blackgui/mainwindow.ui index 54ab5a055..0386bbf86 100644 --- a/samples/blackgui/mainwindow.ui +++ b/samples/blackgui/mainwindow.ui @@ -454,7 +454,7 @@ QStatusBar QLabel { QFrame::NoFrame - 4 + 0 @@ -554,7 +554,7 @@ QStatusBar QLabel { - 1 + 0 3 @@ -564,8 +564,8 @@ QStatusBar QLabel { 0 0 - 90 - 59 + 326 + 267 @@ -607,8 +607,8 @@ QStatusBar QLabel { 0 0 - 90 - 55 + 326 + 267 diff --git a/samples/blackgui/mainwindow_settings.cpp b/samples/blackgui/mainwindow_settings.cpp index 1bf83c9c9..7a7b93b06 100644 --- a/samples/blackgui/mainwindow_settings.cpp +++ b/samples/blackgui/mainwindow_settings.cpp @@ -86,8 +86,9 @@ void MainWindow::alterTrafficServer() /* * Settings did changed */ -void MainWindow::changedSettings() +void MainWindow::changedSettings(uint typeValue) { + Q_UNUSED(typeValue); this->reloadSettings(); } @@ -105,7 +106,6 @@ void MainWindow::updateGuiSelectedServerTextboxes(const CServer &server) this->ui->le_SettingsTnCsPassword->setText(server.getUser().getPassword()); } - /* * Server settings from textboxes */