mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Center align the section labels in advanced settings
This commit is contained in:
parent
3fca49e44d
commit
cccaca0c01
@ -315,10 +315,12 @@ void AdvancedSettings::loadAdvancedSettings()
|
|||||||
, tr("Open documentation")));
|
, tr("Open documentation")));
|
||||||
labelQbtLink.setOpenExternalLinks(true);
|
labelQbtLink.setOpenExternalLinks(true);
|
||||||
addRow(QBITTORRENT_HEADER, QString("<b>%1</b>").arg(tr("qBittorrent Section")), &labelQbtLink);
|
addRow(QBITTORRENT_HEADER, QString("<b>%1</b>").arg(tr("qBittorrent Section")), &labelQbtLink);
|
||||||
|
static_cast<QLabel *>(cellWidget(QBITTORRENT_HEADER, PROPERTY))->setAlignment(Qt::AlignCenter | Qt::AlignVCenter);
|
||||||
|
|
||||||
labelLibtorrentLink.setText(makeLink("https://www.libtorrent.org/reference.html", tr("Open documentation")));
|
labelLibtorrentLink.setText(makeLink("https://www.libtorrent.org/reference.html", tr("Open documentation")));
|
||||||
labelLibtorrentLink.setOpenExternalLinks(true);
|
labelLibtorrentLink.setOpenExternalLinks(true);
|
||||||
addRow(LIBTORRENT_HEADER, QString("<b>%1</b>").arg(tr("libtorrent Section")), &labelLibtorrentLink);
|
addRow(LIBTORRENT_HEADER, QString("<b>%1</b>").arg(tr("libtorrent Section")), &labelLibtorrentLink);
|
||||||
|
static_cast<QLabel *>(cellWidget(LIBTORRENT_HEADER, PROPERTY))->setAlignment(Qt::AlignCenter | Qt::AlignVCenter);
|
||||||
|
|
||||||
// Async IO threads
|
// Async IO threads
|
||||||
spinBoxAsyncIOThreads.setMinimum(1);
|
spinBoxAsyncIOThreads.setMinimum(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user