Gui: Replace C cast
This commit is contained in:
committed by
Chris Hennes
parent
209c78d43e
commit
ff1b4eff05
@@ -486,7 +486,7 @@ void ReportOutput::customEvent ( QEvent* ev )
|
||||
{
|
||||
// Appends the text stored in the event to the text view
|
||||
if ( ev->type() == QEvent::User ) {
|
||||
auto ce = (CustomReportEvent*)ev;
|
||||
auto ce = static_cast<CustomReportEvent*>(ev);
|
||||
reportHl->setParagraphType(ce->messageType());
|
||||
|
||||
bool showTimecode = getWindowParameter()->GetBool("checkShowReportTimecode", true);
|
||||
|
||||
Reference in New Issue
Block a user