From e224211ec910587e0d6788dbd43d3f087c43ccf6 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Sun, 27 Apr 2014 17:27:44 +0000 Subject: [PATCH] Remove flag no fipa-sra git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3029 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- qelectrotech.pro | 12 ------------ sources/genericpanel.cpp | 4 ++++ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/qelectrotech.pro b/qelectrotech.pro index b8c935c8f..ff0df6d20 100644 --- a/qelectrotech.pro +++ b/qelectrotech.pro @@ -174,16 +174,4 @@ macx { # Compilers-specific options unix { QMAKE_COPY_DIR = 'cp -f -r --preserve=timestamps' - *-g++* { - system(g++ -v --help 2>&1 | grep -q fipa-sra) { - QMAKE_CXXFLAGS += -fno-ipa-sra - } - } -} -win32 { - *-g++* { - system(g++ -v --help 2>&1 | find \"fipa-sra\" >NUL) { - QMAKE_CXXFLAGS += -fno-ipa-sra - } - } } diff --git a/sources/genericpanel.cpp b/sources/genericpanel.cpp index 6c60e9e1e..014a28d79 100644 --- a/sources/genericpanel.cpp +++ b/sources/genericpanel.cpp @@ -1230,6 +1230,10 @@ template TitleBlockTemplateLocation GenericPanel::valueForItem(QTreeWidgetItem *item) const; template ElementsLocation GenericPanel::valueForItem(QTreeWidgetItem*) const; +template QETProject* GenericPanel::valueForItem(QTreeWidgetItem*) +const; +template Diagram* GenericPanel::valueForItem(QTreeWidgetItem*) +const; /** */