From d2907dc08c602174f8dbcbbd60179719a035718a Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 18 Sep 2011 19:45:46 +0300 Subject: [PATCH] Fix saving of file association settings (Windows) --- src/preferences/options_imp.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/preferences/options_imp.cpp b/src/preferences/options_imp.cpp index 500386c81..acdb9de5f 100644 --- a/src/preferences/options_imp.cpp +++ b/src/preferences/options_imp.cpp @@ -143,6 +143,10 @@ options_imp::options_imp(QWidget *parent): connect(comboTrayIcon, SIGNAL(currentIndexChanged(int)), this, SLOT(enableApplyButton())); #if defined(Q_WS_X11) && !defined(QT_DBUS_LIB) checkPreventFromSuspend->setDisabled(true); +#endif +#ifdef Q_WS_WIN + connect(checkAssociateTorrents, SIGNAL(toggled(bool)), this, SLOT(enableApplyButton())); + connect(checkAssociateMagnetLinks, SIGNAL(toggled(bool)), this, SLOT(enableApplyButton())); #endif // Downloads tab connect(textSavePath, SIGNAL(textChanged(QString)), this, SLOT(enableApplyButton()));