diff --git a/sources/aboutqet.cpp b/sources/aboutqet.cpp index 2a55eb1ed..36c9d1b70 100644 --- a/sources/aboutqet.cpp +++ b/sources/aboutqet.cpp @@ -69,6 +69,11 @@ QWidget *AboutQET::title() const { icon -> setPixmap(QET::Icons::QETOxygenLogo.pixmap(48, 48)); // label "QElectroTech" QLabel *title = new QLabel("QElectroTech v" + QET::displayedVersion + ""); + QString sCompilation = "
"+ tr("Compilation: ") + __DATE__+ " " + __TIME__; +#ifdef __GNUC__ + sCompilation += " - GCC " + QString(__VERSION__); +#endif + title -> setText( title->text() + sCompilation); title -> setTextFormat(Qt::RichText); QHBoxLayout *hlayout = new QHBoxLayout(); diff --git a/sources/fileelementscollection.cpp b/sources/fileelementscollection.cpp index 2c38cc5af..465b4642b 100644 --- a/sources/fileelementscollection.cpp +++ b/sources/fileelementscollection.cpp @@ -89,7 +89,7 @@ void FileElementsCollection::setFilePath(const QString &path) { Supprime le contenu en memoire de cette collection */ void FileElementsCollection::deleteContent() { - delete root; + if(!root) delete root; root = 0; }