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
862b75b10b
commit
c7ddc3fd9a
@@ -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