mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +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:
@@ -94,7 +94,7 @@ void DialogAutoNum::on_pushButton_annotation_clicked(){
|
||||
if(i+1 < listDiag.count()) diagramsTitle += ", ";
|
||||
}
|
||||
// Ask if user is sure to numerate the conductor
|
||||
QMessageBox::StandardButton answer = QET::MessageBox::warning(
|
||||
QET::MessageBox::warning(
|
||||
this,
|
||||
tr("Annotation des conducteurs", "Attention"),
|
||||
QString(
|
||||
@@ -103,14 +103,6 @@ void DialogAutoNum::on_pushButton_annotation_clicked(){
|
||||
QMessageBox::Yes | QMessageBox::No,
|
||||
QMessageBox::No
|
||||
);
|
||||
|
||||
// if yes numerate all
|
||||
if( answer == QMessageBox::Yes) {
|
||||
foreach (Diagram *d, listDiag) {
|
||||
/*ConductorAutoNumerotation can(d);
|
||||
can.numerateDiagram();*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user