mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-05 13:39:58 +01:00
Fix warning at compilation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3382 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -67,6 +67,8 @@ DiagramImageItem::~DiagramImageItem() {
|
||||
void DiagramImageItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) {
|
||||
painter -> drawPixmap(pixmap_.rect(),pixmap_);
|
||||
|
||||
Q_UNUSED(option); Q_UNUSED(widget);
|
||||
|
||||
if (isSelected()) {
|
||||
painter -> save();
|
||||
// Annulation des renderhints
|
||||
|
||||
@@ -35,6 +35,8 @@ Element::Element(QGraphicsItem *parent, Diagram *scene) :
|
||||
internal_connections_(false),
|
||||
must_highlight_(false)
|
||||
{
|
||||
Q_UNUSED(scene);
|
||||
|
||||
link_type_ = Simple;
|
||||
uuid_ = QUuid::createUuid();
|
||||
setZValue(10);
|
||||
|
||||
Reference in New Issue
Block a user