mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
Fixed: Showing newly added RSS feed in RSS manager
This commit is contained in:
parent
acbfb16dfc
commit
2c19884efe
@ -25,7 +25,6 @@
|
|||||||
#include "browsinglibrary.h"
|
#include "browsinglibrary.h"
|
||||||
#include "globalfunctions.h"
|
#include "globalfunctions.h"
|
||||||
#include "followredirectreply.h"
|
#include "followredirectreply.h"
|
||||||
#include "databasewriter.h"
|
|
||||||
#include "networkmanager.h"
|
#include "networkmanager.h"
|
||||||
|
|
||||||
#include <QMenu>
|
#include <QMenu>
|
||||||
@ -35,6 +34,7 @@
|
|||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QNetworkReply>
|
#include <QNetworkReply>
|
||||||
#include <QBuffer>
|
#include <QBuffer>
|
||||||
|
#include <QSqlQuery>
|
||||||
|
|
||||||
RSSManager::RSSManager(QupZilla* mainClass, QWidget* parent)
|
RSSManager::RSSManager(QupZilla* mainClass, QWidget* parent)
|
||||||
: QWidget(parent)
|
: QWidget(parent)
|
||||||
@ -397,7 +397,7 @@ bool RSSManager::addRssFeed(const QUrl &url, const QString &title, const QIcon &
|
|||||||
buffer.open(QIODevice::WriteOnly);
|
buffer.open(QIODevice::WriteOnly);
|
||||||
image.save(&buffer, "PNG");
|
image.save(&buffer, "PNG");
|
||||||
query.bindValue(2, buffer.data());
|
query.bindValue(2, buffer.data());
|
||||||
mApp->dbWriter()->executeQuery(query);
|
query.exec();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user