OSDN Git Service

[UI][Qt] Fix unconnected event.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Mon, 10 Apr 2017 05:00:10 +0000 (14:00 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Mon, 10 Apr 2017 05:00:10 +0000 (14:00 +0900)
source/src/qt/gui/menu_control.cpp

index 5fa92e0..d0be80c 100644 (file)
@@ -204,9 +204,6 @@ void Ui_MainWindowBase::ConfigControlMenu(void)
                        tmpss.setNum(i);
                        tmps = QString::fromUtf8("actionSave_State") + tmpss;
                        actionSave_State[i]->setObjectName(tmps);
-                       connect(actionSave_State[i], SIGNAL(triggered()),
-                                       this, SLOT(OnSaveState())); // OK?  
-                       
                        actionLoad_State[i] = new Action_Control(this, using_flags);
                        tmps = QString::fromUtf8("actionLoad_State") + tmpss;
                        actionLoad_State[i]->setObjectName(tmps);