unresolved overloaded function type error
Solved
General and Desktop
-
Hi All,
I have this error after I wrote the code
frmmain.cpp:78: error: no match for 'operator==' (operand types are '<unresolved overloaded function type>' and 'QString')
if (window->windowTitle == Form_Header)
^
codeQMdiSubWindow *frmMAIN::findMdiChild(QString Form_Header) { foreach (QMdiSubWindow *window, ui->mdiArea->subWindowList()) { if (window->windowTitle == Form_Header) return window; } return 0; } How to cast I don't have a clue? Thanks