Commit 58f5762a authored by Edric Milaret's avatar Edric Milaret

fix fullscreen working only once

Regression due to change in UI

Change-Id: I7b69702aeb1fe1ce38a1843331189a8540e2af07
Tuleap: #182
parent 07ba9a4a
......@@ -148,13 +148,12 @@ VideoView::toggleFullScreen()
this->setParent(oldParent_);
oldParent_->layout()->addWidget(this);
this->resize(oldSize_.width(), oldSize_.height());
this->show();
this->showNormal();
} else {
oldSize_ = this->size();
oldParent_ = static_cast<QWidget*>(this->parent());
this->setParent(0);
this->showFullScreen();
this->show();
}
}
......
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