diff --git a/source/ImageInterface.cpp b/source/ImageInterface.cpp index 7e097b9..d76ef27 100644 --- a/source/ImageInterface.cpp +++ b/source/ImageInterface.cpp @@ -32,8 +32,9 @@ namespace plaYUVer { -ImageInterface::ImageInterface( QWidget * parent ) -: QScrollArea( parent ) + +ImageInterface::ImageInterface( QWidget * parent ) : + QScrollArea( parent ) { setParent( parent ); @@ -204,7 +205,7 @@ static bool sanityCheck( const QList &widgets, const int index, const return true; } -QSize ImageInterface::sizeHint () const +QSize ImageInterface::sizeHint() const { QSize maxSize; // The size of the parent (viewport widget // of the QMdiArea). diff --git a/source/plaYUVerApp.cpp b/source/plaYUVerApp.cpp index bccc5c3..aeac8b2 100644 --- a/source/plaYUVerApp.cpp +++ b/source/plaYUVerApp.cpp @@ -234,7 +234,7 @@ ImageInterface *plaYUVerApp::createImageInterface() void plaYUVerApp::addImageInterface( ImageInterface *child ) { - connect( child, SIGNAL( areaSelected( QRect ) ), this, SLOT( setSelection( QRect ) ) ); + //connect( child, SIGNAL( areaSelected( QRect ) ), this, SLOT( setSelection( QRect ) ) ); // Add the interface to the mdiArea mdiArea->addSubWindow( child );