スロットが呼ばれない
原因
connect 関数のシグナル名とスロット名に括弧を付けてなかったため。
×
connect(this, SIGNAL( mySignal ), this, SLOT( mySlot ));
○
connect(this, SIGNAL( mySignal() ), this, SLOT( mySlot() ));
connect 関数のシグナル名とスロット名に括弧を付けてなかったため。
connect(this, SIGNAL( mySignal ), this, SLOT( mySlot ));
connect(this, SIGNAL( mySignal() ), this, SLOT( mySlot() ));