Re: setWindowIcon for QDialog
David Edmundson <[email protected]>
| Newsgroups | gmane.comp.kde.devel.general,gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <CAGeFrHBHqoBrZ2n++tmVDLFDW_SW1VO006NjcUH8hX0PRRrfFA@mail.gmail.com> |
On Mon, Mar 4, 2019 at 1:49 PM Aleix Pol <[email protected]> wrote: > > On Sun, Mar 3, 2019 at 11:00 AM Alexander Semke <[email protected]> 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?