Merge remote-tracking branch 'origin/dvogonen/rename_companion_485' into next
Conflicts: companion/src/CMakeLists.txt companion/src/main.cpp companion/src/modeledit.cpp companion/src/xsimulatordialog.cpp
This commit is contained in:
@@ -182,12 +182,12 @@ void MdiChild::OpenEditWindow(bool wizard=false)
|
||||
QSettings settings("companion9x", "companion9x");
|
||||
bool wizardEnable=settings.value("wizardEnable", true).toBool();
|
||||
if (wizardEnable) {
|
||||
ret = QMessageBox::question(this, tr("companion9x"), tr("Do you want to use model wizard? "), QMessageBox::Yes | QMessageBox::No);
|
||||
ret = QMessageBox::question(this, tr("Companion"), tr("Do you want to use model wizard? "), QMessageBox::Yes | QMessageBox::No);
|
||||
if (ret == QMessageBox::Yes) {
|
||||
wizard=true;
|
||||
} else {
|
||||
qSleep(500);
|
||||
ret = QMessageBox::question(this, tr("companion9x"), tr("Ask this question again ? "), QMessageBox::Yes | QMessageBox::No);
|
||||
ret = QMessageBox::question(this, tr("Companion"), tr("Ask this question again ? "), QMessageBox::Yes | QMessageBox::No);
|
||||
if (ret == QMessageBox::No) {
|
||||
settings.setValue("wizardEnable", false);
|
||||
}
|
||||
@@ -470,7 +470,7 @@ bool MdiChild::maybeSave()
|
||||
{
|
||||
if (fileChanged) {
|
||||
QMessageBox::StandardButton ret;
|
||||
ret = QMessageBox::warning(this, tr("companion9x"),
|
||||
ret = QMessageBox::warning(this, tr("Companion"),
|
||||
tr("%1 has been modified.\n"
|
||||
"Do you want to save your changes?").arg(userFriendlyCurrentFile()),
|
||||
QMessageBox::Save | QMessageBox::Discard | QMessageBox::Cancel);
|
||||
|
||||
Reference in New Issue
Block a user