mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
@@ -22,9 +22,6 @@
|
|||||||
#include "machine_info.h"
|
#include "machine_info.h"
|
||||||
#include <QStyleFactory>
|
#include <QStyleFactory>
|
||||||
|
|
||||||
#include <QtCore>
|
|
||||||
#include <QtWidgets>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@brief myMessageOutput
|
@brief myMessageOutput
|
||||||
for debugging
|
for debugging
|
||||||
@@ -207,32 +204,6 @@ int main(int argc, char **argv)
|
|||||||
delete my_ma;
|
delete my_ma;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(! QET::FileFormatStable){
|
|
||||||
QMessageBox::StandardButton btn = QMessageBox::critical(
|
|
||||||
nullptr,
|
|
||||||
QCoreApplication::translate(
|
|
||||||
"main",
|
|
||||||
"Unstable file format!"),
|
|
||||||
QCoreApplication::translate(
|
|
||||||
"main",
|
|
||||||
"<p><b>ATTENTION: This application version is UNSTABLE!</b></p>"
|
|
||||||
|
|
||||||
"<p>Everything you do with this application can break your "
|
|
||||||
"workspace, libraries or projects! Saved files will not be "
|
|
||||||
"readable with stable releases of QElectroTech. It's highly "
|
|
||||||
"recommended to create a backup before proceeding. If you are "
|
|
||||||
"unsure, please download an official stable release instead.</p>"
|
|
||||||
|
|
||||||
// "<p>For details, please take a look at QElectroTech's "
|
|
||||||
// "<a href=\"%1\">versioning concept</a>.</p>"
|
|
||||||
|
|
||||||
"<p>Are you really sure to continue with the risk of breaking your "
|
|
||||||
"files?!</p>","this text is not finished yet, expect changes!")
|
|
||||||
.arg("doc_release_workflow"),
|
|
||||||
QMessageBox::Yes | QMessageBox::Cancel, QMessageBox::Cancel);
|
|
||||||
if (!(btn == QMessageBox::Yes))
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
return app.exec();
|
return app.exec();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -28,19 +28,10 @@ class QActionGroup;
|
|||||||
anywhere else within the QElectroTech application.
|
anywhere else within the QElectroTech application.
|
||||||
*/
|
*/
|
||||||
namespace QET {
|
namespace QET {
|
||||||
/// Read the release workflow documentation
|
|
||||||
/// before making changes here!!!
|
|
||||||
|
|
||||||
/// QElectroTech version (as string, used to mark projects and elements XML documents)
|
/// QElectroTech version (as string, used to mark projects and elements XML documents)
|
||||||
const QString version = "0.80";
|
const QString version = "0.80";
|
||||||
/// QElectroTech displayed version
|
/// QElectroTech displayed version
|
||||||
const QString displayedVersion = "0.80-DEV";
|
const QString displayedVersion = "0.80-DEV";
|
||||||
/**
|
|
||||||
@brief FileFormatStable
|
|
||||||
- On all non-release branches: false
|
|
||||||
- On release branches: true
|
|
||||||
*/
|
|
||||||
const bool FileFormatStable = false;
|
|
||||||
QString license();
|
QString license();
|
||||||
|
|
||||||
//Describe the current state of a graphic item
|
//Describe the current state of a graphic item
|
||||||
|
|||||||
Reference in New Issue
Block a user