Upgrade from Webkit to WebEngine

This commit is contained in:
Jeena 2015-10-13 20:07:59 +02:00
parent 81bac3ec8d
commit c6c41c799f
6 changed files with 23 additions and 28 deletions

View file

@ -4,6 +4,7 @@
#include <QMetaType>
#include <QtQml>
#include <QIcon>
#include <QtWebEngine/qtwebengineglobal.h>
#include "tinytinyrsslogin.h"
#include "tinytinyrss.h"
@ -16,6 +17,8 @@ int main(int argc, char *argv[])
app.setOrganizationDomain("jeena.net");
app.setApplicationName("FeedTheMonkey");
QtWebEngine::initialize();
qmlRegisterType<TinyTinyRSSLogin>("TTRSS", 1, 0, "ServerLogin");
qmlRegisterType<TinyTinyRSS>("TTRSS", 1, 0, "Server");
qmlRegisterType<Post>("TTRSS", 1, 0, "Post");

View file

@ -45,7 +45,6 @@ void Post::setRead(bool r)
void Post::setDontChangeRead(bool r)
{
qDebug() << "setDontChangeRead " << r << " " << mDontChangeRead;
if(mDontChangeRead == r) return;
mDontChangeRead = r;