|
|
@ -142,7 +142,8 @@ void MainWindow::play()
|
|
|
|
if (sm->myData[sourceId].GetPassword() == 1)
|
|
|
|
if (sm->myData[sourceId].GetPassword() == 1)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
bool ok;
|
|
|
|
bool ok;
|
|
|
|
QString passw = QInputDialog::getText(this, "Connecting to: " + sm->myData[sourceId].addr, "Password: ", QLineEdit::Password, "", &ok);
|
|
|
|
QString passw = QInputDialog::getText(this, tr("Connecting to: ") + sm->myData[sourceId].addr, tr("Password: "),
|
|
|
|
|
|
|
|
QLineEdit::Password, "", &ok);
|
|
|
|
if (!ok)
|
|
|
|
if (!ok)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
arguments.append(QLatin1String("--password=") + passw.toLatin1());
|
|
|
|
arguments.append(QLatin1String("--password=") + passw.toLatin1());
|
|
|
|