Web lists-archives.com

Re: setWindowIcon for QDialog




On Mon, Mar 4, 2019 at 1:49 PM Aleix Pol <aleixpol@xxxxxxx> wrote:
>
> On Sun, Mar 3, 2019 at 11:00 AM Alexander Semke <alexander.semke@xxxxxx> wrote:
> >
> > Hi,
> >
> > in LabPlot we have couple of modal dialogs, created on the heap and shown with
> > dlg->exec().  The dialog icon is set in the constructor of the dialog via
> > QDialog::setWindowIcon(), e.g.
> > setWindowIcon(QIcon::fromTheme(QLatin1String("labplot-worksheet")));
> >
> > The icon is set/handled by the window manager if I understand this correctly.
> > With kwin, the specified icons are not shown

Not shown where exactly?
Also X or xwayland?
Does running xprop and clicking on the window show the correct icon?