mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-09 07:40:19 +08:00
8dfc68e196
- Allow to run one instance of qBittorrent per user - Moved button to close search tabs
21 lines
355 B
Plaintext
21 lines
355 B
Plaintext
/*
|
|
-----BEGIN QCMOD-----
|
|
name: Qt >= 4.3
|
|
-----END QCMOD-----
|
|
*/
|
|
class qc_qt4 : public ConfObj
|
|
{
|
|
public:
|
|
qc_qt4(Conf *c) : ConfObj(c) {}
|
|
QString name() const { return "Qt >= 4.3"; }
|
|
QString shortname() const { return "Qt 4.3"; }
|
|
bool exec()
|
|
{
|
|
if(QT_VERSION >= 0x040400) {
|
|
conf->addDefine("QT_4_4");
|
|
}
|
|
return(QT_VERSION >= 0x040300);
|
|
|
|
}
|
|
};
|