QWidget::setShown() is obsolete in Qt4. Replace it with setVisible().
This change is Qt4/Qt5 neutral.
This commit is contained in:
committed by
wmayer
parent
f7b8135ded
commit
4d85f0e40b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user