summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/EventViewer/QtEventWindowFactory.cpp')
-rw-r--r--Swift/QtUI/EventViewer/QtEventWindowFactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/EventViewer/QtEventWindowFactory.cpp b/Swift/QtUI/EventViewer/QtEventWindowFactory.cpp
index ac8ae06..45f6da0 100644
--- a/Swift/QtUI/EventViewer/QtEventWindowFactory.cpp
+++ b/Swift/QtUI/EventViewer/QtEventWindowFactory.cpp
@@ -16,7 +16,7 @@ QtEventWindowFactory::QtEventWindowFactory(QtMainWindowFactory* mainWindowFactor
}
EventWindow* QtEventWindowFactory::createEventWindow() {
- return ((QtMainWindow*)mainWindowFactory_->getLastCreatedWindow())->getEventWindow();
+ return static_cast<QtMainWindow*>(mainWindowFactory_->getLastCreatedWindow())->getEventWindow();
}
}