Merge branch 'master' into 1.4

This commit is contained in:
Arin Alexander 2016-09-09 21:50:04 +04:00
commit 5832d77112
2 changed files with 8 additions and 3 deletions

View File

@ -300,6 +300,11 @@ void BandDesignIntf::setParentBandName(const QString &parentBandName)
}
}
QString BandDesignIntf::parentBandName(){
if (!m_parentBand) return m_parentBandName;
else return m_parentBand->objectName();
}
bool BandDesignIntf::isConnectedToBand(BandDesignIntf::BandsType bandType) const
{
foreach(BandDesignIntf* band,childBands()) if (band->bandType()==bandType) return true;

View File

@ -146,7 +146,7 @@ public:
void setParentBand(BandDesignIntf* band);
void setParentBandName(const QString& parentBandName);
QString parentBandName(){return m_parentBandName;}
QString parentBandName();
bool isConnectedToBand(BandDesignIntf::BandsType bandType) const;