mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Fix compilation errors (closes #676856)
This commit is contained in:
parent
7a5f9195fc
commit
ea631f6675
2 changed files with 3 additions and 3 deletions
|
@ -100,7 +100,7 @@ void downloadThread::processDlFinished(QNetworkReply* reply) {
|
|||
}
|
||||
|
||||
void downloadThread::loadCookies(const QString &host_name, QString url) {
|
||||
const QList<QByteArray> raw_cookies = RssSettings::getHostNameCookies(host_name);
|
||||
const QList<QByteArray> raw_cookies = RssSettings().getHostNameCookies(host_name);
|
||||
QNetworkCookieJar *cookie_jar = networkManager.cookieJar();
|
||||
QList<QNetworkCookie> cookies;
|
||||
qDebug("Loading cookies for host name: %s", qPrintable(host_name));
|
||||
|
|
|
@ -207,7 +207,7 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo
|
|||
// View settings
|
||||
actionTop_tool_bar->setChecked(pref.isToolbarDisplayed());
|
||||
actionSpeed_in_title_bar->setChecked(pref.speedInTitleBar());
|
||||
actionRSS_Reader->setChecked(RssSettings::isRSSEnabled());
|
||||
actionRSS_Reader->setChecked(RssSettings().isRSSEnabled());
|
||||
actionSearch_engine->setChecked(pref.isSearchEnabled());
|
||||
displaySearchTab(actionSearch_engine->isChecked());
|
||||
displayRSSTab(actionRSS_Reader->isChecked());
|
||||
|
@ -1197,7 +1197,7 @@ void MainWindow::on_actionSpeed_in_title_bar_triggered() {
|
|||
}
|
||||
|
||||
void MainWindow::on_actionRSS_Reader_triggered() {
|
||||
RssSettings::setRSSEnabled(actionRSS_Reader->isChecked());
|
||||
RssSettings().setRSSEnabled(actionRSS_Reader->isChecked());
|
||||
displayRSSTab(actionRSS_Reader->isChecked());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue