Commit 4eef958f authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Fix use of uninitialzed value.

Reviewed-by: mae
parent 65963918
......@@ -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) {
......
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