From: Rafał Długołęcki Date: Fri, 29 Jan 2016 16:55:25 +0000 (+0100) Subject: Set dialogs titles in layout instead of code X-Git-Tag: 3.4-b1~19 X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=5c36945d528b595d9a0353b4b512e8e99ca092bb;p=vlp.git Set dialogs titles in layout instead of code --- diff --git a/src/kernel/kernel.cpp b/src/kernel/kernel.cpp index b39fa3c..ee5e9c7 100644 --- a/src/kernel/kernel.cpp +++ b/src/kernel/kernel.cpp @@ -421,7 +421,6 @@ void QKernel::on_actionConnect_triggered() MESSAGE m; dialog::ConnectDialog dialog(this); - dialog.setWindowTitle("IP Address:"); if (dialog.exec()) { m.msg_type = MSG_NET; @@ -506,7 +505,6 @@ void QKernel::on_actionMessage_triggered() void QKernel::on_actionKill_triggered() { dialog::KillInterpreterDialog dialog(this); - dialog.setWindowTitle("Kill interpreter"); if (dialog.exec()) { MESSAGE m; diff --git a/src/kernel/ui/dialogs/ConnectDialog.ui b/src/kernel/ui/dialogs/ConnectDialog.ui index 46bf16f..a67a419 100644 --- a/src/kernel/ui/dialogs/ConnectDialog.ui +++ b/src/kernel/ui/dialogs/ConnectDialog.ui @@ -11,7 +11,7 @@ - Dialog + IP Address diff --git a/src/kernel/ui/dialogs/KillDialog.ui b/src/kernel/ui/dialogs/KillDialog.ui index 32a73d5..7c74c41 100644 --- a/src/kernel/ui/dialogs/KillDialog.ui +++ b/src/kernel/ui/dialogs/KillDialog.ui @@ -11,7 +11,7 @@ - Dialog + Kill interpreter