mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-07 08:02:30 -06:00
Fix possible crash when setting RSS proxy (closes #676288)
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
torrent is really complete (closes #674349)
|
torrent is really complete (closes #674349)
|
||||||
- BUGFIX: Fix possible incorrect behavior with queueing
|
- BUGFIX: Fix possible incorrect behavior with queueing
|
||||||
- BUGFIX: Fix RSS refresh interval saving
|
- BUGFIX: Fix RSS refresh interval saving
|
||||||
|
- BUGFIX: Fix possible crash when setting RSS proxy (closes #676288)
|
||||||
|
|
||||||
* Wed Nov 10 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.10
|
* Wed Nov 10 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.10
|
||||||
- BUGFIX: Fix possible crash when selecting a RSS item (really closes #575624)
|
- BUGFIX: Fix possible crash when selecting a RSS item (really closes #575624)
|
||||||
|
|||||||
@@ -73,8 +73,12 @@ void CookiesDlg::on_del_btn_clicked() {
|
|||||||
QList<QByteArray> CookiesDlg::getCookies() const {
|
QList<QByteArray> CookiesDlg::getCookies() const {
|
||||||
QList<QByteArray> ret;
|
QList<QByteArray> ret;
|
||||||
for(int i=0; i<ui->cookiesTable->rowCount(); ++i) {
|
for(int i=0; i<ui->cookiesTable->rowCount(); ++i) {
|
||||||
QString key = ui->cookiesTable->item(i, COOKIE_KEY)->text().trimmed();
|
QString key;
|
||||||
QString value = ui->cookiesTable->item(i, COOKIE_VALUE)->text().trimmed();
|
if(ui->cookiesTable->item(i, COOKIE_KEY))
|
||||||
|
key = ui->cookiesTable->item(i, COOKIE_KEY)->text().trimmed();
|
||||||
|
QString value;
|
||||||
|
if(ui->cookiesTable->item(i, COOKIE_VALUE))
|
||||||
|
value = ui->cookiesTable->item(i, COOKIE_VALUE)->text().trimmed();
|
||||||
if(!key.isEmpty() && !value.isEmpty()) {
|
if(!key.isEmpty() && !value.isEmpty()) {
|
||||||
const QString raw_cookie = key+"="+value;
|
const QString raw_cookie = key+"="+value;
|
||||||
qDebug("Cookie: %s", qPrintable(raw_cookie));
|
qDebug("Cookie: %s", qPrintable(raw_cookie));
|
||||||
|
|||||||
Reference in New Issue
Block a user