forked from qt-creator/qt-creator
AbiWidget: Add method to check whether a ABI is custom or not
Change-Id: I893f06d5863573a6b787b65d02262bbfc6eee2f7 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -192,6 +192,11 @@ QList<Abi> AbiWidget::supportedAbis() const
|
||||
return result;
|
||||
}
|
||||
|
||||
bool AbiWidget::isCustomAbi() const
|
||||
{
|
||||
return d->isCustom();
|
||||
}
|
||||
|
||||
Abi AbiWidget::currentAbi() const
|
||||
{
|
||||
return Abi(d->m_abi->itemData(d->m_abi->currentIndex()).toString());
|
||||
|
||||
Reference in New Issue
Block a user