From 5745e1e0c408788a09e67f50ae1e1e90db32a871 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Mon, 27 Jan 2014 22:45:53 +0000 Subject: [PATCH] Change some function headers --- source/ImageInterface.cpp | 7 ++++--- source/plaYUVerApp.cpp | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) 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 );