Finished fleshing out MergeView for now.
This commit is contained in:
@@ -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
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user