mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-11 20:09:59 +02:00
Revert 3344
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3345 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -46,11 +46,7 @@ nomenclature::~nomenclature() {
|
|||||||
@param true if success
|
@param true if success
|
||||||
*/
|
*/
|
||||||
bool nomenclature::saveToCSVFile() {
|
bool nomenclature::saveToCSVFile() {
|
||||||
if(m_list_diagram.isEmpty())
|
if(m_list_diagram.isEmpty()) return false;
|
||||||
QMessageBox msgBox;
|
|
||||||
msgBox.setText("Le titre du projet est vide, veuillez le remplir.");
|
|
||||||
msgBox.exec();
|
|
||||||
return false;
|
|
||||||
|
|
||||||
//Process...
|
//Process...
|
||||||
QString data = tr("NOMENCLATURE : ") + m_project -> title() + "\n\n";
|
QString data = tr("NOMENCLATURE : ") + m_project -> title() + "\n\n";
|
||||||
|
|||||||
@@ -42,7 +42,6 @@ class nomenclature : public QObject {
|
|||||||
QETProject *m_project;
|
QETProject *m_project;
|
||||||
QList<Diagram *> m_list_diagram;
|
QList<Diagram *> m_list_diagram;
|
||||||
QWidget *m_parent;
|
QWidget *m_parent;
|
||||||
QMessageBox msgBox;
|
|
||||||
|
|
||||||
// constructors, destructor
|
// constructors, destructor
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user