Upgrade from Webkit to WebEngine
This commit is contained in:
parent
81bac3ec8d
commit
c6c41c799f
6 changed files with 23 additions and 28 deletions
|
@ -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");
|
||||
|
|
|
@ -45,7 +45,6 @@ void Post::setRead(bool r)
|
|||
|
||||
void Post::setDontChangeRead(bool r)
|
||||
{
|
||||
qDebug() << "setDontChangeRead " << r << " " << mDontChangeRead;
|
||||
if(mDontChangeRead == r) return;
|
||||
|
||||
mDontChangeRead = r;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue