mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 20:58:07 -06:00
Revise legal notice
For GUI and non-daemon console, the legal notice won't ask for user acceptance anymore and only provide an OK button (or Enter key in console) from now on. For daemon mode, qbt will print the legal notice and continue to run. It will also notify user to use command line option `--confirm-legal-notice` to suppress the message. The message will be printed on every start up unless user specify the command line option once. PR #20080.
This commit is contained in:
@@ -224,3 +224,9 @@ bool SettingsStorage::hasKey(const QString &key) const
|
||||
const QReadLocker locker {&m_lock};
|
||||
return m_data.contains(key);
|
||||
}
|
||||
|
||||
bool SettingsStorage::isEmpty() const
|
||||
{
|
||||
const QReadLocker locker {&m_lock};
|
||||
return m_data.isEmpty();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user