mirror of
https://github.com/transmission/transmission.git
synced 2025-12-25 04:45:56 +00:00
refactor: fix more sonarcloud warnings (#1508)
* refactor: const correctness * refactor: use getpwuid_r instead of getpwuid * chore: simplify dict walking loop logic * refactor: remove dead store assignment in announcer * refactor: use std::make_shared
This commit is contained in:
@@ -27,7 +27,7 @@ class FreeSpaceLabel : public QLabel
|
||||
TR_DISABLE_COPY_MOVE(FreeSpaceLabel)
|
||||
|
||||
public:
|
||||
FreeSpaceLabel(QWidget* parent = nullptr);
|
||||
explicit FreeSpaceLabel(QWidget* parent = nullptr);
|
||||
|
||||
void setSession(Session& session);
|
||||
void setPath(QString const& folder);
|
||||
|
||||
Reference in New Issue
Block a user