mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 13:23:34 -07:00
Another Windows compilation fix
This commit is contained in:
parent
c8b8518608
commit
aad42d4a57
1 changed files with 8 additions and 0 deletions
|
@ -34,6 +34,8 @@
|
||||||
#include <QSettings>
|
#include <QSettings>
|
||||||
|
|
||||||
class QIniSettings : public QSettings {
|
class QIniSettings : public QSettings {
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
QIniSettings(const QString &organization, const QString &application = QString(), QObject *parent = 0 ):
|
QIniSettings(const QString &organization, const QString &application = QString(), QObject *parent = 0 ):
|
||||||
#ifdef Q_WS_WIN
|
#ifdef Q_WS_WIN
|
||||||
|
@ -49,6 +51,12 @@ public:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QIniSettings& operator =(const QIniSettings &other) {
|
||||||
|
Q_UNUSED(other);
|
||||||
|
Q_ASSERT(0);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef Q_WS_WIN
|
#ifdef Q_WS_WIN
|
||||||
QVariant value(const QString & key, const QVariant &defaultValue = QVariant()) {
|
QVariant value(const QString & key, const QVariant &defaultValue = QVariant()) {
|
||||||
QString key_tmp(key);
|
QString key_tmp(key);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue