[qrvthtool] SelectDeviceDialog: Set the window icon.

On KDE, with no icon set, it automatically uses the main window icon.
On Windows, it uses a generic icon instead.

Explicitly set the window icon to the RVT-H Reader icon.
This commit is contained in:
David Korth 2025-05-21 18:24:28 -04:00
parent 71c41db758
commit c2be2517da

View File

@ -112,6 +112,9 @@ SelectDeviceDialogPrivate::SelectDeviceDialogPrivate(SelectDeviceDialog *q)
{
// Get the RVT-H Reader icon.
rvthReaderIcon = RvtHModel::getIcon(RvtHModel::ICON_RVTH);
// Set the window icon.
q->setWindowIcon(rvthReaderIcon);
}
SelectDeviceDialogPrivate::~SelectDeviceDialogPrivate()