Commit 42d68e1d authored by John Tapsell's avatar John Tapsell

MainWindow - remove unnecessary static_cast

parent a16f9bdf
...@@ -450,7 +450,7 @@ void MainWindow::buildCustomWidget() ...@@ -450,7 +450,7 @@ void MainWindow::buildCustomWidget()
ui.menuTools->addAction(showAction);*/ ui.menuTools->addAction(showAction);*/
// Load dock widget location (default is bottom) // Load dock widget location (default is bottom)
Qt::DockWidgetArea location = static_cast <Qt::DockWidgetArea>(tool->getDockWidgetArea(currentView)); Qt::DockWidgetArea location = tool->getDockWidgetArea(currentView);
//addDockWidget(location, dock); //addDockWidget(location, dock);
//dock->hide(); //dock->hide();
......
Markdown is supported
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