mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-26 11:16:20 +03:00
Merge pull request #8005 from Chocobo1/helpbutton
Disable the "?" help button in all dialogs on Windows
This commit is contained in:
commit
60c9926834
1 changed files with 4 additions and 0 deletions
|
@ -212,6 +212,10 @@ int main(int argc, char *argv[])
|
||||||
// 3. https://bugreports.qt.io/browse/QTBUG-46015
|
// 3. https://bugreports.qt.io/browse/QTBUG-46015
|
||||||
|
|
||||||
qputenv("QT_BEARER_POLL_TIMEOUT", QByteArray::number(-1));
|
qputenv("QT_BEARER_POLL_TIMEOUT", QByteArray::number(-1));
|
||||||
|
#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))
|
||||||
|
// this is the default in Qt6
|
||||||
|
app->setAttribute(Qt::AA_DisableWindowContextHelpButton);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(Q_OS_MAC)
|
#if defined(Q_OS_MAC)
|
||||||
|
|
Loading…
Reference in a new issue