Finished fleshing out MergeView for now.

This commit is contained in:
Jim Evins
2016-05-14 13:25:24 -04:00
parent efb4e56e74
commit 73b7475cbc
7 changed files with 111 additions and 34 deletions
+16
View File
@@ -140,6 +140,22 @@ MergeFactory::SourceType MergeFactory::idToType( const QString& id )
}
///
/// Lookup ID from index
///
QString MergeFactory::indexToId( int index )
{
QList<QString> ids = mBackendIdMap.keys();
if ( (index > 0) && (index < ids.size()) )
{
return ids[index];
}
return "None";
}
///
/// Register backend
///