Remove unused functions in plaYUVerApp

This commit is contained in:
jfmcarreira committed 2014-03-28 22:40:18 +00:00
1 parent de07b1dd85
commit 39ac397f4d
2 files changed
+2 -21

No files matched your search

+2 -19
View File
@@ -153,7 +153,7 @@ void plaYUVerApp::open()
SubWindowHandle *interfaceChild = new SubWindowHandle( this ); //createSubWindow();
if( interfaceChild->loadFile( fileName ) )
{
addSubWindow( interfaceChild );
mdiArea->addSubWindow( interfaceChild );
statusBar()->showMessage( tr( "File loaded" ), 2000 );
interfaceChild->show();
connect( interfaceChild->getViewArea(), SIGNAL( positionChanged(const QPoint &, InputStream *) ), this,
@@ -372,7 +372,7 @@ void plaYUVerApp::dropEvent( QDropEvent *event )
SubWindowHandle *interfaceChild = new SubWindowHandle( this ); //createSubWindow();
if( interfaceChild->loadFile( fileName ) )
{
addSubWindow( interfaceChild );
mdiArea->addSubWindow( interfaceChild );
statusBar()->showMessage( tr( "File loaded" ), 2000 );
interfaceChild->show();
}
@@ -386,23 +386,6 @@ void plaYUVerApp::dropEvent( QDropEvent *event )
// ----------------------- Gui Functions -----------------------
SubWindowHandle *plaYUVerApp::createSubWindow()
{
SubWindowHandle *child = new SubWindowHandle;
mdiArea->addSubWindow( child );
return child;
}
void plaYUVerApp::addSubWindow( SubWindowHandle *child )
{
//connect( child, SIGNAL( areaSelected( QRect ) ), this, SLOT( setSelection( QRect ) ) );
// Add the interface to the mdiArea
mdiArea->addSubWindow( child );
return;
}
SubWindowHandle *plaYUVerApp::activeSubWindow()
{
if( QMdiSubWindow *activeSubWindow = mdiArea->activeSubWindow() )