blob: 627d12724439ecbff76abe27fdcdac41c9f54015 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include "nekowatchlet.h"
using namespace sowatch;
const QLatin1String NekoWatchlet::myId("com.javispedro.sowatch.neko");
NekoWatchlet::NekoWatchlet(WatchServer* server) :
DeclarativeWatchlet(server, myId)
{
// Workaround Qt's stupid clip region calculation when
// - There's a QML item with clip = true
// - And we are using "compat" updateRects() signal mode
setFullUpdateMode(true);
setSource(QUrl(SOWATCH_QML_DIR "/nekowatchlet/" + server->watch()->model() + ".qml"));
}
|