From df9f983d747a430ed9c2fddbbf1496f265dad6a4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 14 Jan 2012 23:46:01 +0300 Subject: fix adding gcc 4.7 support. --- src/gui/widgets/tabbedarea.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets') diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp index 9702d74f9..fc6526a13 100644 --- a/src/gui/widgets/tabbedarea.cpp +++ b/src/gui/widgets/tabbedarea.cpp @@ -464,7 +464,7 @@ void TabbedArea::removeAll() { if (getSelectedTabIndex() != -1) { - setSelectedTab(static_cast(0)); + setSelectedTabByPos(static_cast(0)); } while (getNumberOfTabs() > 0) { -- cgit v1.2.3-70-g09d2