Spent most of today trying to track down a focus problem when closing the advanced find window. The text edit tab doesn't actually get keyboard focus. The Close pushbutton always seems to get focus back once again. Finally I went to declare a simple slot just for the button, one that wasn't re-used to clean-up an existing and now unwanted split (so I could cheat with a timer) . . . and this rattled the noodle.
I pulled up the master code that I have from when I pulled/forked/whatever-git-calls-it-when-one-is-working-on-changes-before-a-pull-request
split_window.cpp line 104
Code: Select all
connect(m_splitClose_PB, &QPushButton::clicked, this, &MainWindow::split_CloseButton);
Code: Select all
// split
void set_splitCombo();
void split_Horizontal();
void split_Vertical();
void split_NameChanged(int data);
void split_CloseButton();
I'm bringing this up because it is my understanding this should have died at compile time. Perhaps I'm just thick as a brick and making a baseless statement, but that was my understanding of the slot macros.
I'm probably just confused. It has been a long day.