Commit da8d4a12 authored by Kevin Funk's avatar Kevin Funk
Browse files

Fix a few more strings

parent 5c302c6f
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <QDebug> #include <QDebug>
#include <QIcon> #include <QIcon>
#include <QPushButton>
#include <QUrl> #include <QUrl>
using namespace UserFeedback::Console; using namespace UserFeedback::Console;
...@@ -31,6 +32,8 @@ ConnectDialog::ConnectDialog(QWidget *parent) : ...@@ -31,6 +32,8 @@ ConnectDialog::ConnectDialog(QWidget *parent) :
ui(new Ui::ConnectDialog) ui(new Ui::ConnectDialog)
{ {
ui->setupUi(this); ui->setupUi(this);
ui->buttonBox->button(QDialogButtonBox::Ok)->setText(tr("Connect"));
connect(ui->serverName, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &ConnectDialog::serverSelected); connect(ui->serverName, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &ConnectDialog::serverSelected);
setWindowIcon(QIcon::fromTheme(QStringLiteral("network-connect"))); setWindowIcon(QIcon::fromTheme(QStringLiteral("network-connect")));
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="text"> <property name="text">
<string>Server &amp;Name:</string> <string>Server &amp;name:</string>
</property> </property>
<property name="buddy"> <property name="buddy">
<cstring>serverName</cstring> <cstring>serverName</cstring>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment