It seems the tray icon is fixed at 22x22, so it doesn't scale with the rest of the tray icons on HiDPI screens.
controlbox.cpp, line 2337
QPixmap pxm = prelimicon.pixmap(prelimicon.actualSize(QSize(22,22)) );
After resizing the raw_images to 48x48, and setting the code to 44,44, it looks much better for HiDPI.