Commit 80f88fd3 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

USe qobject_cast

parent babf0252
......@@ -52,7 +52,7 @@ void SieveScriptTabWidget::slotTabContextMenuRequest(const QPoint &pos)
return;
}
SieveWidgetPageAbstract *page = dynamic_cast<SieveWidgetPageAbstract *>(w);
SieveWidgetPageAbstract *page = qobject_cast<SieveWidgetPageAbstract *>(w);
if (!page) {
return;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment