Add flags for qmake to use C++11

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3079 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-05-26 14:42:00 +00:00
parent 215e268467
commit 9d9f6bd0db
2 changed files with 5 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ MasterElement::MasterElement(const ElementsLocation &location, QGraphicsItem *qg
CustomElement(location, qgi, s, state)
{
link_type_ = Master;
cri_ = 0;
cri_ = nullptr;
connect(this, SIGNAL(elementInfoChange(DiagramContext)), this, SLOT(updateLabel()));
}
@@ -93,7 +93,7 @@ void MasterElement::unlinkElement(Element *elmt) {
if (linkedElements().isEmpty()) {
diagram()->removeItem(cri_);
delete cri_;
cri_ = 0;
cri_ = nullptr;
}
else {
cri_->updateLabel();