Fix debugger windows names

This commit is contained in:
Marcin Mikołajczyk 2013-02-11 14:48:22 +01:00
parent 151abd60a7
commit dcc50da460
5 changed files with 5 additions and 5 deletions

View file

@ -238,7 +238,7 @@ void CtrlDisAsmView::RenameFunction()
strncpy(name, symbolMap.GetSymbolName(sym),256);
bool ok;
QString newname = QInputDialog::getText(this, tr("New function name"),
tr("New function name :"), QLineEdit::Normal,
tr("New function name:"), QLineEdit::Normal,
name, &ok);
if (ok && !newname.isEmpty())
{

View file

@ -350,7 +350,7 @@ void CtrlRegisterList::Change()
bool ok;
QString text = QInputDialog::getText(this, tr("Set new value"),
tr("Set new value :"), QLineEdit::Normal,
tr("Set new value:"), QLineEdit::Normal,
QString::number(val), &ok);
if (ok && !text.isEmpty())
{

View file

@ -14,7 +14,7 @@
<enum>Qt::ClickFocus</enum>
</property>
<property name="windowTitle">
<string>Dialog</string>
<string comment="Window title">Disassembler</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>

View file

@ -12,7 +12,7 @@ Debugger_Memory::Debugger_Memory(DebugInterface *_cpu, MainWindow* mainWindow_,
{
ui->setupUi(this);
setWindowTitle(QString("Memory Viewer - ")+cpu->GetName());
setWindowTitle(tr("Memory Viewer - %1").arg(cpu->GetName()));
ui->memView->setDebugger(_cpu);
}

View file

@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
<string>VFPU</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>