diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-03 22:44:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-03 22:44:42 +0300 |
commit | b94678289a5e671fc168ec58525b7aae2a56e6ec (patch) | |
tree | 475822a9d1acae55f2602facbbb14dba4347fb67 /src/gui/widgets | |
parent | 602fd127d09c995bc5470218c862b2cebfc558d5 (diff) | |
download | mv-b94678289a5e671fc168ec58525b7aae2a56e6ec.tar.gz mv-b94678289a5e671fc168ec58525b7aae2a56e6ec.tar.bz2 mv-b94678289a5e671fc168ec58525b7aae2a56e6ec.tar.xz mv-b94678289a5e671fc168ec58525b7aae2a56e6ec.zip |
Remove useless dynamic_cast.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/tabbedarea.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp index 818dd85df..dbfc068e6 100644 --- a/src/gui/widgets/tabbedarea.cpp +++ b/src/gui/widgets/tabbedarea.cpp @@ -396,7 +396,7 @@ void TabbedArea::setSelectedTab(Tab *const tab) } } - Tab *const newTab = dynamic_cast<Tab *const>(tab); + Tab *const newTab = tab; if (newTab) newTab->setCurrent(); |