mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-02 21:52:32 -06:00
Improve coding style
This commit is contained in:
committed by
sledgehammer999
parent
d3f46452a9
commit
1728c16580
@@ -40,7 +40,8 @@ struct ISession
|
||||
virtual void setData(const QString &id, const QVariant &data) = 0;
|
||||
|
||||
template <class T>
|
||||
T getData(const QString &id) const {
|
||||
T getData(const QString &id) const
|
||||
{
|
||||
return this->getData(id).value<T>();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user