Allow deselecting radio buttons in "Torrent options" for mixed torrents

This commit is contained in:
thalieht
2021-10-22 13:51:28 +03:00
parent 046d6f3bc1
commit 16f8d6a936
2 changed files with 17 additions and 1 deletions

View File

@@ -34,6 +34,8 @@
#include "base/settingvalue.h"
class QAbstractButton;
namespace BitTorrent
{
class Torrent;
@@ -76,6 +78,7 @@ private:
QStringList m_categories;
QString m_currentCategoriesString;
bool m_allSameCategory = true;
QAbstractButton *m_previousRadio = nullptr;
struct
{
QString savePath;