mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-07 14:59:58 +01:00
bug fix: segfault when load project with folio report linked but without the same potential text
(Assert QList(), in conductor.cpp) git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2815 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
#define CONDUCTORAUTONUMEROTATIONWIDGET_H
|
||||
|
||||
#include <QtGui>
|
||||
#include <QList>
|
||||
#include <QSet>
|
||||
#include <QMultiMap>
|
||||
#include <QString>
|
||||
@@ -13,7 +12,7 @@ class ConductorAutoNumerotationWidget : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ConductorAutoNumerotationWidget(Conductor *, QSet <Conductor *>, QWidget *parent = 0);
|
||||
explicit ConductorAutoNumerotationWidget(QSet <Conductor *>, QWidget *parent = 0);
|
||||
QMultiMap <int, QString> conductorsTextToMap (QSet <Conductor *>);
|
||||
|
||||
public slots:
|
||||
@@ -29,10 +28,7 @@ class ConductorAutoNumerotationWidget : public QDialog
|
||||
QVBoxLayout* buildRadioList();
|
||||
|
||||
//attributes
|
||||
Conductor *conductor_;
|
||||
QSet<Conductor *> c_list; //liste des conducteurs au même potentiel
|
||||
Diagram *diagram_;
|
||||
QList <QRadioButton *> *radio_List;
|
||||
QLineEdit *text_field;
|
||||
QString text_;
|
||||
QSignalMapper *sm_;
|
||||
|
||||
Reference in New Issue
Block a user