mirror of
https://github.com/transmission/transmission.git
synced 2026-04-17 23:54:19 +01:00
refactor: inline simple getters in qt client (#6621)
* refactor: make RpcClient::url() constexpr * refactor: make Session::getRemoteUrl() constexpr * refactor: make RpcQueue::setTolerateErrors() constexpr * refactor: make RpcClient::isLocal() constexpr * refactor: make Session::isLocal() constexpr * refactor: make Session::isServer() constexpr * refactor: make PathButton::label() constexpr * chore: remove accidentally-committed makelog file
This commit is contained in:
@@ -63,11 +63,6 @@ void PathButton::setPath(QString const& path)
|
||||
emit pathChanged(path_);
|
||||
}
|
||||
|
||||
QString const& PathButton::path() const
|
||||
{
|
||||
return path_;
|
||||
}
|
||||
|
||||
QSize PathButton::sizeHint() const
|
||||
{
|
||||
auto const sh = QToolButton::sizeHint();
|
||||
|
||||
Reference in New Issue
Block a user