mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 15:56:17 -07:00
Remove const in declarations' arguments that are passed by value
This commit is contained in:
parent
70f1537d9f
commit
8a19a0d4a0
11 changed files with 22 additions and 22 deletions
|
@ -1186,7 +1186,7 @@ int Preferences::getPropCurTab() const
|
|||
return value("TorrentProperties/CurrentTab", -1).toInt();
|
||||
}
|
||||
|
||||
void Preferences::setPropCurTab(const int &tab)
|
||||
void Preferences::setPropCurTab(const int tab)
|
||||
{
|
||||
setValue("TorrentProperties/CurrentTab", tab);
|
||||
}
|
||||
|
@ -1356,7 +1356,7 @@ int Preferences::getTransSelFilter() const
|
|||
return value("TransferListFilters/selectedFilterIndex", 0).toInt();
|
||||
}
|
||||
|
||||
void Preferences::setTransSelFilter(const int &index)
|
||||
void Preferences::setTransSelFilter(const int index)
|
||||
{
|
||||
setValue("TransferListFilters/selectedFilterIndex", index);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue