Commit 5e2135d5 authored by Jan Möbius's avatar Jan Möbius

Fixed wrong size hints in base viewers

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14498 383ad7c9-94d9-4d36-a494-682f7c89f535
parent fda9691e
......@@ -238,11 +238,11 @@ glViewer::~glViewer()
//-----------------------------------------------------------------------------
QSizeF
glViewer::sizeHint(Qt::SizeHint which, const QSizeF & constraint) const
{
return QSizeF( 600, 600 );
}
//QSizeF
//glViewer::sizeHint(Qt::SizeHint which, const QSizeF & constraint) const
//{
// return QSizeF( 600, 600 );
//}
//-----------------------------------------------------------------------------
......
......@@ -423,7 +423,7 @@ protected:
/// Return a resonable size hint
virtual QSizeF sizeHint (Qt::SizeHint which, const QSizeF & constraint) const;
//virtual QSizeF sizeHint (Qt::SizeHint which, const QSizeF & constraint) const;
/// initialize OpenGL states
virtual void initializeGL();
......
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