VS Qt 槽函数
Unsolved
Chinese
-
VS Qt,为什么用on_名_操作的函数命名方式,槽函数会触发两次,例如on_loginPushButton_clicked(),设置弹窗会出现两次~
-
"connect" method have been called for Two times.
First, on_object_signal will automatically connect signals and slots when the object is just created,
I guess that you have another "connect" call in your code . With Qt' s automatic connection approach, No extra "connect" function calls needed, .