From b3a2ee74355285c96bf71b62af8559f1693b75d8 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Sat, 26 Oct 2013 12:53:52 -0400 Subject: [PATCH] Fixed cut&paste error. --- app/MainWindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/MainWindow.cpp b/app/MainWindow.cpp index 64a5ee8..90d5ccc 100644 --- a/app/MainWindow.cpp +++ b/app/MainWindow.cpp @@ -167,22 +167,22 @@ namespace gLabels viewFileToolBarAction = new QAction( tr("File"), this ); viewFileToolBarAction->setCheckable( true ); viewFileToolBarAction->setStatusTip( tr("Change visibility of file toolbar in current window") ); - connect( viewFileToolBarAction, SIGNAL(triggered(bool)), this, SLOT(viewFileToolBar(bool)) ); + connect( viewFileToolBarAction, SIGNAL(toggled(bool)), this, SLOT(viewFileToolBar(bool)) ); viewObjectsToolBarAction = new QAction( tr("Objects"), this ); viewObjectsToolBarAction->setCheckable( true ); viewObjectsToolBarAction->setStatusTip( tr("Change visibility of objects toolbar in current window") ); - connect( viewObjectsToolBarAction, SIGNAL(triggered(bool)), this, SLOT(viewObjectsToolBar(bool)) ); + connect( viewObjectsToolBarAction, SIGNAL(toggled(bool)), this, SLOT(viewObjectsToolBar(bool)) ); viewEditToolBarAction = new QAction( tr("Edit"), this ); viewEditToolBarAction->setCheckable( true ); viewEditToolBarAction->setStatusTip( tr("Change visibility of edit toolbar in current window") ); - connect( viewEditToolBarAction, SIGNAL(triggered(bool)), this, SLOT(viewEditToolBar(bool)) ); + connect( viewEditToolBarAction, SIGNAL(toggled(bool)), this, SLOT(viewEditToolBar(bool)) ); viewViewToolBarAction = new QAction( tr("View"), this ); viewViewToolBarAction->setCheckable( true ); viewViewToolBarAction->setStatusTip( tr("Change visibility of view toolbar in current window") ); - connect( viewViewToolBarAction, SIGNAL(triggered(bool)), this, SLOT(viewViewToolBar(bool)) ); + connect( viewViewToolBarAction, SIGNAL(toggled(bool)), this, SLOT(viewViewToolBar(bool)) ); viewGridAction = new QAction( tr("Grid"), this ); viewGridAction->setCheckable( true );