mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Ajout d'une classe QETMessageBox : desormais, sous MacOS, les MessageBox sont integrees a leur fenetre parente.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@729 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include "qetdiagrameditor.h"
|
||||
#include "integrationmoveelementshandler.h"
|
||||
#include "basicmoveelementshandler.h"
|
||||
#include "qetmessagebox.h"
|
||||
|
||||
QString QETProject::integration_category_name = "import";
|
||||
|
||||
@@ -696,7 +697,7 @@ void QETProject::readProjectXml() {
|
||||
bool conv_ok;
|
||||
qreal diagram_version = root_elmt.attribute("version").toDouble(&conv_ok);
|
||||
if (conv_ok && QET::version.toDouble() < diagram_version) {
|
||||
QMessageBox::warning(
|
||||
QET::MessageBox::warning(
|
||||
0,
|
||||
tr("Avertissement", "message box title"),
|
||||
tr(
|
||||
|
||||
Reference in New Issue
Block a user