mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
committed by
GitHub
parent
189514c6de
commit
4471a6377e
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Bittorrent Client using Qt and libtorrent.
|
||||
* Copyright (C) 2018 Vladimir Golovnev <glassez@yandex.ru>
|
||||
* Copyright (C) 2018, 2022 Vladimir Golovnev <glassez@yandex.ru>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
@@ -37,9 +37,8 @@
|
||||
|
||||
#include "apierror.h"
|
||||
|
||||
APIController::APIController(ISessionManager *sessionManager, QObject *parent)
|
||||
APIController::APIController(QObject *parent)
|
||||
: QObject {parent}
|
||||
, m_sessionManager {sessionManager}
|
||||
{
|
||||
}
|
||||
|
||||
@@ -56,11 +55,6 @@ QVariant APIController::run(const QString &action, const StringMap ¶ms, cons
|
||||
return m_result;
|
||||
}
|
||||
|
||||
ISessionManager *APIController::sessionManager() const
|
||||
{
|
||||
return m_sessionManager;
|
||||
}
|
||||
|
||||
const StringMap &APIController::params() const
|
||||
{
|
||||
return m_params;
|
||||
|
||||
Reference in New Issue
Block a user