Hi wysota
The first error takes me to this part of the code.
void MessageWindow
::customEvent(QEvent* event
) {
if (static_cast<MessageWindow::EventType>(event->type()) == MessageWindow::MessageEvent)
msgTextEdit.append(dynamic_cast<MessageEvent::MessageEvent* >(event)->msg); // '{ctor}' Error takes me to this line
}
void MessageWindow::customEvent(QEvent* event)
{
if (static_cast<MessageWindow::EventType>(event->type()) == MessageWindow::MessageEvent)
msgTextEdit.append(dynamic_cast<MessageEvent::MessageEvent* >(event)->msg); // '{ctor}' Error takes me to this line
}
To copy to clipboard, switch view to plain text mode
the second error takes me to this line.
QCoreApplication::postEvent(this, new MessageEvent::MessageEvent(qmsg));
To copy to clipboard, switch view to plain text mode
Bookmarks