QWidget::setShown() is obsolete in Qt4. Replace it with setVisible().

This change is Qt4/Qt5 neutral.
This commit is contained in:
Mateusz Skowroński
2015-12-20 18:47:15 +01:00
committed by wmayer
parent 862b75b10b
commit c7ddc3fd9a
2 changed files with 2 additions and 2 deletions

View File

@@ -123,7 +123,7 @@ void ImageView::enableStatusBar(bool Enable)
// Enable or disable the toolbar
void ImageView::enableToolBar(bool Enable)
{
_pStdToolBar->setShown(Enable);
_pStdToolBar->setVisible(Enable);
}
// Enable or disable the mouse events