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:
Charles Kerr
2024-02-18 18:48:27 -06:00
committed by GitHub
parent b1b685af3f
commit a90d0fce2b
8 changed files with 28 additions and 52 deletions

View File

@@ -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();