X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.cpp;h=dae50296e37e85e735c9947ef8bef85a2c6ada09;hp=5800ea79e76b41481fc0a60cc1e26198f2062107;hb=1a5c1814a0c52f6f35e65c7033b2f896bf1188e3;hpb=df38a9238d603ec8d2040619befa50980d994916 diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index 5800ea79..dae50296 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -91,6 +91,7 @@ #include "resourcetreedlg.h" #include "settingsdlg.h" #include "settingspagedlg.h" +#include "sslinfodlg.h" #include "statusnotifieritem.h" #include "toolbaractionprovider.h" #include "topicwidget.h" @@ -112,10 +113,6 @@ # include "snorenotificationbackend.h" #endif -#ifdef HAVE_SSL -# include "sslinfodlg.h" -#endif - #ifdef HAVE_NOTIFICATION_CENTER # include "osxnotificationbackend.h" #endif @@ -124,8 +121,6 @@ # include "dockmanagernotificationbackend.h" #endif -#include - #include "settingspages/aliasessettingspage.h" #include "settingspages/appearancesettingspage.h" #include "settingspages/backlogsettingspage.h" @@ -136,6 +131,7 @@ #include "settingspages/connectionsettingspage.h" #include "settingspages/coreaccountsettingspage.h" #include "settingspages/coreconnectionsettingspage.h" +#include "settingspages/corehighlightsettingspage.h" #include "settingspages/dccsettingspage.h" #include "settingspages/highlightsettingspage.h" #include "settingspages/identitiessettingspage.h" @@ -202,9 +198,7 @@ void MainWin::init() connect(Client::coreConnection(), &CoreConnection::userAuthenticationRequired, this, &MainWin::userAuthenticationRequired); connect(Client::coreConnection(), &CoreConnection::handleNoSslInClient, this, &MainWin::handleNoSslInClient); connect(Client::coreConnection(), &CoreConnection::handleNoSslInCore, this, &MainWin::handleNoSslInCore); -#ifdef HAVE_SSL connect(Client::coreConnection(), &CoreConnection::handleSslErrors, this, &MainWin::handleSslErrors); -#endif // Setup Dock Areas setDockNestingEnabled(true); @@ -1380,8 +1374,6 @@ void MainWin::handleNoSslInCore(bool* accepted) *accepted = (box.exec() == QMessageBox::Ignore); } -#ifdef HAVE_SSL - void MainWin::handleSslErrors(const QSslSocket* socket, bool* accepted, bool* permanently) { QString errorString = "