mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 00:47:21 -06:00
@@ -48,7 +48,7 @@ AboutDialog::AboutDialog(QWidget *parent)
|
||||
m_ui->logo->setPixmap(Utils::Gui::scaledPixmapSvg(":/icons/skin/qbittorrent-tray.svg", this, 32));
|
||||
|
||||
// About
|
||||
QString aboutText = QString(
|
||||
const QString aboutText = QString(
|
||||
"<p style=\"white-space: pre-wrap;\">"
|
||||
"%1\n\n"
|
||||
"%2\n\n"
|
||||
@@ -88,13 +88,21 @@ AboutDialog::AboutDialog(QWidget *parent)
|
||||
licensefile.close();
|
||||
}
|
||||
|
||||
// Libraries
|
||||
// Software Used
|
||||
m_ui->labelQtVer->setText(QT_VERSION_STR);
|
||||
m_ui->labelLibtVer->setText(Utils::Misc::libtorrentVersionString());
|
||||
m_ui->labelBoostVer->setText(Utils::Misc::boostVersionString());
|
||||
m_ui->labelOpensslVer->setText(Utils::Misc::opensslVersionString());
|
||||
m_ui->labelZlibVer->setText(Utils::Misc::zlibVersionString());
|
||||
|
||||
const QString DBIPText = QString(
|
||||
"<html><head/><body><p>"
|
||||
"%1"
|
||||
" (<a href=\"https://db-ip.com/\">https://db-ip.com/</a>)</p></body></html>")
|
||||
.arg(tr("The free IP to Country Lite database by DB-IP is used for resolving the countries of peers. "
|
||||
"The database is licensed under the Creative Commons Attribution 4.0 International License"));
|
||||
m_ui->labelDBIP->setText(DBIPText);
|
||||
|
||||
Utils::Gui::resize(this);
|
||||
show();
|
||||
}
|
||||
|
||||
@@ -314,11 +314,11 @@
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="librariesTab">
|
||||
<widget class="QWidget" name="SoftwareUsedTab">
|
||||
<attribute name="title">
|
||||
<string>Libraries</string>
|
||||
<string>Software Used</string>
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="librariesTabLayout">
|
||||
<layout class="QVBoxLayout" name="SoftwareUsedTabLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
@@ -470,6 +470,22 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="labelDBIP">
|
||||
<property name="text">
|
||||
<string notr="true">DB-IP license text</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="textInteractionFlags">
|
||||
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer_2">
|
||||
<property name="orientation">
|
||||
|
||||
@@ -496,7 +496,7 @@ void AdvancedSettings::loadAdvancedSettings()
|
||||
addRow(LIST_REFRESH, tr("Transfer list refresh interval"), &m_spinBoxListRefresh);
|
||||
// Resolve Peer countries
|
||||
m_checkBoxResolveCountries.setChecked(pref->resolvePeerCountries());
|
||||
addRow(RESOLVE_COUNTRIES, tr("Resolve peer countries (GeoIP)"), &m_checkBoxResolveCountries);
|
||||
addRow(RESOLVE_COUNTRIES, tr("Resolve peer countries"), &m_checkBoxResolveCountries);
|
||||
// Resolve peer hosts
|
||||
m_checkBoxResolveHosts.setChecked(pref->resolvePeerHostNames());
|
||||
addRow(RESOLVE_HOSTS, tr("Resolve peer host names"), &m_checkBoxResolveHosts);
|
||||
|
||||
Reference in New Issue
Block a user