a?adido minimunSizeHint a yacreader_flow_gl (corrige crash al redimensionarlo)

This commit is contained in:
Luis Ángel San Martín 2013-05-27 12:13:20 +02:00
parent d1ea427183
commit 62a6561485
2 changed files with 5 additions and 5 deletions

View File

@ -257,14 +257,14 @@ YACReaderFlowGL::~YACReaderFlowGL()
} }
/*QSize YACReaderFlowGL::minimumSizeHint() const QSize YACReaderFlowGL::minimumSizeHint() const
{ {
return QSize(800, 480); return QSize(320, 200);
} }
QSize YACReaderFlowGL::sizeHint() const /*QSize YACReaderFlowGL::sizeHint() const
{ {
return QSize(800, 480); return QSize(320, 200);
}*/ }*/
void YACReaderFlowGL::initializeGL() void YACReaderFlowGL::initializeGL()

View File

@ -173,7 +173,7 @@ public:
~YACReaderFlowGL(); ~YACReaderFlowGL();
//size; //size;
//QSize minimumSizeHint() const; QSize minimumSizeHint() const;
//QSize sizeHint() const; //QSize sizeHint() const;
/*functions*/ /*functions*/