Remove superfluous QString::fromUtf8()

This commit is contained in:
Chocobo1 2017-11-21 16:07:48 +08:00
parent 4927d26877
commit 27090f0cfb
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
8 changed files with 13 additions and 13 deletions

View file

@ -799,7 +799,7 @@ void PropertiesWidget::askWebSeed()
// Ask user for a new url seed
const QString url_seed = AutoExpandableDialog::getText(this, tr("New URL seed", "New HTTP source"),
tr("New URL seed:"), QLineEdit::Normal,
QString::fromUtf8("http://www."), &ok);
QLatin1String("http://www."), &ok);
if (!ok) return;
qDebug("Adding %s web seed", qUtf8Printable(url_seed));
if (!m_ui->listWebSeeds->findItems(url_seed, Qt::MatchFixedString).empty()) {