revert some change in comit 2675:

Qt use enum for use flags: Qt is a good exemple to make code


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2686 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2013-12-31 12:03:36 +00:00
parent 78bff76471
commit 8adf17b906
6 changed files with 16 additions and 14 deletions

View File

@@ -37,7 +37,7 @@ FolioReportProperties::~FolioReportProperties()
*/
void FolioReportProperties::BuildRadioList() {
ElementProvider ep(element_->diagram()->project(), element_->diagram());
QList <Element *> elmt_list = ep.FreeElement(REPORT);
QList <Element *> elmt_list = ep.FreeElement(Element::Report);
foreach (Element *elmt, elmt_list) {
if (elmt != element_) {