Skip to content
Snippets Groups Projects
Commit 4eef958f authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Fix use of uninitialzed value.

Reviewed-by: mae
parent 65963918
No related branches found
No related tags found
No related merge requests found
......@@ -125,7 +125,7 @@ void OutputPanePlaceHolder::maximizeOrMinimize(bool maximize)
QList<int> sizes = m_splitter->sizes();
if (maximize) {
int sum;
int sum = 0;
foreach(int s, sizes)
sum += s;
for (int i = 0; i < sizes.count(); ++i) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment