mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Add pointer qualifications to auto-typed variables
This commit is contained in:
@@ -831,7 +831,7 @@ void AdvancedSettings::loadAdvancedSettings()
|
||||
template <typename T>
|
||||
void AdvancedSettings::addRow(const int row, const QString &text, T *widget)
|
||||
{
|
||||
auto label = new QLabel(text);
|
||||
auto *label = new QLabel(text);
|
||||
label->setOpenExternalLinks(true);
|
||||
|
||||
setCellWidget(row, PROPERTY, label);
|
||||
|
||||
Reference in New Issue
Block a user