mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Add pointer qualifications to auto-typed variables
This commit is contained in:
@@ -108,7 +108,7 @@ void TorrentCategoryDialog::editCategory(QWidget *parent, const QString &categor
|
||||
|
||||
Q_ASSERT(Session::instance()->categories().contains(categoryName));
|
||||
|
||||
auto dialog = new TorrentCategoryDialog(parent);
|
||||
auto *dialog = new TorrentCategoryDialog(parent);
|
||||
dialog->setAttribute(Qt::WA_DeleteOnClose);
|
||||
dialog->setCategoryNameEditable(false);
|
||||
dialog->setCategoryName(categoryName);
|
||||
|
||||
Reference in New Issue
Block a user