mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
Register stream operators for enum classes. Closes #3921.
This commit is contained in:
parent
4a271d358f
commit
a7ff38d389
2 changed files with 18 additions and 0 deletions
|
@ -63,6 +63,8 @@ Preferences::Preferences()
|
|||
, dirty(false)
|
||||
, lock(QReadWriteLock::Recursive)
|
||||
{
|
||||
qRegisterMetaTypeStreamOperators<MaxRatioAction>("MaxRatioAction");
|
||||
|
||||
QIniSettings *settings = new QIniSettings;
|
||||
#ifndef Q_OS_MAC
|
||||
QIniSettings *settings_new = new QIniSettings("qBittorrent", "qBittorrent_new");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue