mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Convert the names used in ui and c++ files from snake_case to camelCase
This commit is contained in:
parent
ca68b86550
commit
6d4434ad66
22 changed files with 315 additions and 314 deletions
|
@ -139,10 +139,10 @@ PropertiesWidget::PropertiesWidget(QWidget *parent, MainWindow *mainWindow, Tran
|
|||
m_ui->trackerDownButton->setIconSize(Utils::Gui::smallIconSize());
|
||||
connect(m_ui->trackerUpButton, &QPushButton::clicked, m_trackerList, &TrackerListWidget::moveSelectionUp);
|
||||
connect(m_ui->trackerDownButton, &QPushButton::clicked, m_trackerList, &TrackerListWidget::moveSelectionDown);
|
||||
m_ui->horizontalLayout_trackers->insertWidget(0, m_trackerList);
|
||||
m_ui->hBoxLayoutTrackers->insertWidget(0, m_trackerList);
|
||||
// Peers list
|
||||
m_peerList = new PeerListWidget(this);
|
||||
m_ui->peerpage_layout->addWidget(m_peerList);
|
||||
m_ui->vBoxLayoutPeerPage->addWidget(m_peerList);
|
||||
// Speed widget
|
||||
m_speedWidget = new SpeedWidget(this);
|
||||
m_ui->speedLayout->addWidget(m_speedWidget);
|
||||
|
@ -604,7 +604,7 @@ void PropertiesWidget::displayFilesListMenu(const QPoint &)
|
|||
QMenu subMenu;
|
||||
if (!m_torrent->isSeed()) {
|
||||
subMenu.setTitle(tr("Priority"));
|
||||
subMenu.addAction(m_ui->actionNot_downloaded);
|
||||
subMenu.addAction(m_ui->actionNotDownloaded);
|
||||
subMenu.addAction(m_ui->actionNormal);
|
||||
subMenu.addAction(m_ui->actionHigh);
|
||||
subMenu.addAction(m_ui->actionMaximum);
|
||||
|
@ -632,7 +632,7 @@ void PropertiesWidget::displayFilesListMenu(const QPoint &)
|
|||
prio = prio::HIGH;
|
||||
else if (act == m_ui->actionMaximum)
|
||||
prio = prio::MAXIMUM;
|
||||
else if (act == m_ui->actionNot_downloaded)
|
||||
else if (act == m_ui->actionNotDownloaded)
|
||||
prio = prio::IGNORED;
|
||||
|
||||
qDebug("Setting files priority");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue