Group :: Sistema/Bibliotecas
RPM: signon-ui
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: alt-fix-crash.patch
Download
Download
--- a/src/request.cpp
+++ b/src/request.cpp
@@ -305,7 +305,10 @@ QString Request::id() const
void Request::setWidget(QWidget *widget)
{
Q_D(Request);
- if (d->setWindow(widget->windowHandle())) {
+ if (widget) {
+ QWindow *whandle = widget->windowHandle();
+ if (whandle)
+ d->setWindow(whandle);
widget->show();
}
}