mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-10 16:19:59 +01:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user