mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 08:25:38 +00:00
parent
2c558de891
commit
1081af930d
@ -34,6 +34,9 @@ QNitpickerWindowSurface::QNitpickerWindowSurface(QWindow *window)
|
|||||||
{
|
{
|
||||||
//qDebug() << "QNitpickerWindowSurface::QNitpickerWindowSurface:" << (long)this;
|
//qDebug() << "QNitpickerWindowSurface::QNitpickerWindowSurface:" << (long)this;
|
||||||
|
|
||||||
|
/* Calling 'QWindow::winId()' ensures that the platform window has been created */
|
||||||
|
window->winId();
|
||||||
|
|
||||||
_platform_window = static_cast<QNitpickerPlatformWindow*>(window->handle());
|
_platform_window = static_cast<QNitpickerPlatformWindow*>(window->handle());
|
||||||
connect(_platform_window, SIGNAL(framebuffer_changed()), this, SLOT(framebuffer_changed()));
|
connect(_platform_window, SIGNAL(framebuffer_changed()), this, SLOT(framebuffer_changed()));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user