Commit db9a8450 authored by Stéphane Albert's avatar Stéphane Albert
Browse files

REFAC: Removed commented code.

parent 29e425bc
......@@ -249,50 +249,6 @@ MainWindow
);
mainWindow->show();
/*
//
// add the application in a tab
// TODO : check if this application is already opened ???
int tabIndex = m_CentralTabWidget->addTab(
appWidget, QIcon( ":/icons/process" ), docName );
// no checking needed here, if index is not available nothing is
// done. Focus on the newly added tab
m_CentralTabWidget->setCurrentIndex( tabIndex );
//
// connections. not using m_CentralTabWidget->currentWidget() leads
// to a wrong connection!!!!
QObject::connect(
m_CentralTabWidget->currentWidget(),
SIGNAL( OTBApplicationOutputImageChanged( const QString&,
const QString& ) ),
// to:
this,
SLOT( OnOTBApplicationOutputImageChanged( const QString&,
const QString& ) )
);
QObject::connect(
appWidget,
SIGNAL( ExecutionDone( int ) ),
// to:
this,
SLOT( OnExecutionDone( int ) )
);
//
// on quit widget signal, close its tab
QObject::connect(
m_CentralTabWidget->currentWidget(),
SIGNAL( QuitSignal() ),
// to:
this,
SLOT( OnTabCloseRequested() )
);
*/
#endif // OTB_USE_QT4
}
......
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