Commit e3c3509d authored by Claudio Valerio's avatar Claudio Valerio

inizialized variable

parent e6b64d6e
...@@ -844,7 +844,7 @@ QRect WBTabWidget::addTabButtonRect() ...@@ -844,7 +844,7 @@ QRect WBTabWidget::addTabButtonRect()
{ {
QRect lastTabRect = tabBar()->tabRect(tabBar()->count() -1); QRect lastTabRect = tabBar()->tabRect(tabBar()->count() -1);
int x = lastTabRect.topRight().x(); int x = lastTabRect.topRight().x();
int y; int y = 0;
if (tabPosition() == QTabWidget::North) if (tabPosition() == QTabWidget::North)
y = lastTabRect.topRight().y(); y = lastTabRect.topRight().y();
......
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