Clang-Tidy and Clazy fixes

This commit is contained in:
Jonas Kvinge
2021-06-20 19:04:08 +02:00
parent 755abec636
commit 1295033fae
374 changed files with 1304 additions and 900 deletions

View File

@@ -35,8 +35,10 @@
#include "core/song.h"
class MtpConnection : public QObject, public std::enable_shared_from_this<MtpConnection> {
Q_OBJECT
public:
explicit MtpConnection(const QUrl &url);
explicit MtpConnection(const QUrl &url, QObject *parent = nullptr);
~MtpConnection() override;
bool is_valid() const { return device_; }