diff options
author | Christoph Schulthess | 2017-03-22 16:54:39 +0100 |
---|---|---|
committer | Christoph Schulthess | 2017-03-22 16:54:39 +0100 |
commit | 8a6f41579af58127f29fcfe363da14167d74427f (patch) | |
tree | c5f3ce1c1a77a4ec3e1b31a7fc453c634ba64804 | |
parent | added sig to toolbar.h (diff) | |
download | pvs2-8a6f41579af58127f29fcfe363da14167d74427f.tar.gz pvs2-8a6f41579af58127f29fcfe363da14167d74427f.tar.xz pvs2-8a6f41579af58127f29fcfe363da14167d74427f.zip |
changed signal
-rw-r--r-- | gui/client/toolbar.ui | 8 | ||||
-rw-r--r-- | src/client/toolbar/toolbar.cpp | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gui/client/toolbar.ui b/gui/client/toolbar.ui index c8e92d5..5b0f682 100644 --- a/gui/client/toolbar.ui +++ b/gui/client/toolbar.ui @@ -6,10 +6,16 @@ <rect> <x>0</x> <y>0</y> - <width>577</width> + <width>580</width> <height>30</height> </rect> </property> + <property name="minimumSize"> + <size> + <width>580</width> + <height>0</height> + </size> + </property> <property name="windowTitle"> <string>Form</string> </property> diff --git a/src/client/toolbar/toolbar.cpp b/src/client/toolbar/toolbar.cpp index 204d10a..631e6c5 100644 --- a/src/client/toolbar/toolbar.cpp +++ b/src/client/toolbar/toolbar.cpp @@ -109,7 +109,7 @@ void Toolbar::init() connect(clientApp->connectWindow(), SIGNAL(connected(ServerConnection*)), this, SLOT(onConnected(ServerConnection*))); connect(_ui->btnManager, SIGNAL(toggled(bool)), this, SLOT(onBtnManager())); connect(_ui->btnAttention, SIGNAL(toggled(bool)), this, SLOT(onBtnAttention())); - connect(_ui->btnCustom, SIGNAL(toggled(bool)), this, SLOT(onBtnCustom())); + connect(_ui->btnCustom, SIGNAL(clicked), this, SLOT(onBtnCustom())); /* Setup menu */ initMenu(); |