Merge branch 'master' of https://github.com/86Box/86Box
This commit is contained in:
@@ -123,7 +123,9 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
this->setWindowFlag(Qt::MSWindowsFixedSizeDialogHint, vid_resize != 1);
|
this->setWindowFlag(Qt::MSWindowsFixedSizeDialogHint, vid_resize != 1);
|
||||||
this->setWindowFlag(Qt::WindowMaximizeButtonHint, vid_resize == 1);
|
this->setWindowFlag(Qt::WindowMaximizeButtonHint, vid_resize == 1);
|
||||||
|
|
||||||
this->setWindowTitle(QString("%1 - %2 %3").arg(vm_name, EMU_NAME, EMU_VERSION_FULL));
|
QString vmname(vm_name);
|
||||||
|
if (vmname.at(vmname.size() - 1) == '"' || vmname.at(vmname.size() - 1) == '\'') vmname.truncate(vmname.size() - 1);
|
||||||
|
this->setWindowTitle(QString("%1 - %2 %3").arg(vmname, EMU_NAME, EMU_VERSION_FULL));
|
||||||
|
|
||||||
connect(this, &MainWindow::showMessageForNonQtThread, this, &MainWindow::showMessage_, Qt::BlockingQueuedConnection);
|
connect(this, &MainWindow::showMessageForNonQtThread, this, &MainWindow::showMessage_, Qt::BlockingQueuedConnection);
|
||||||
|
|
||||||
|
@@ -258,7 +258,7 @@ plat_tempfile(char *bufp, char *prefix, char *suffix)
|
|||||||
|
|
||||||
name.append(QDateTime::currentDateTime().toString("yyyyMMdd-hhmmss-zzzz"));
|
name.append(QDateTime::currentDateTime().toString("yyyyMMdd-hhmmss-zzzz"));
|
||||||
if (suffix) name.append(suffix);
|
if (suffix) name.append(suffix);
|
||||||
sprintf(&bufp[strlen(bufp)], "%s", name.toUtf8().data());
|
strcpy(bufp, name.toUtf8().data());
|
||||||
}
|
}
|
||||||
|
|
||||||
void plat_remove(char* path)
|
void plat_remove(char* path)
|
||||||
|
@@ -121,7 +121,9 @@ void ProgSettings::accept()
|
|||||||
reloadStrings();
|
reloadStrings();
|
||||||
update_mouse_msg();
|
update_mouse_msg();
|
||||||
main_window->ui->retranslateUi(main_window);
|
main_window->ui->retranslateUi(main_window);
|
||||||
main_window->setWindowTitle(QString("%1 - %2 %3").arg(vm_name, EMU_NAME, EMU_VERSION_FULL));
|
QString vmname(vm_name);
|
||||||
|
if (vmname.at(vmname.size() - 1) == "\"" || vmname.at(vmname.size() - 1) == "'") vmname.truncate(vmname.size() - 1);
|
||||||
|
main_window->setWindowTitle(QString("%1 - %2 %3").arg(vmname, EMU_NAME, EMU_VERSION_FULL));
|
||||||
QString msg = main_window->status->getMessage();
|
QString msg = main_window->status->getMessage();
|
||||||
main_window->status.reset(new MachineStatus(main_window));
|
main_window->status.reset(new MachineStatus(main_window));
|
||||||
main_window->refreshMediaMenu();
|
main_window->refreshMediaMenu();
|
||||||
|
Reference in New Issue
Block a user