Skip to content

Tiny bit of regression #379

@annejan

Description

@annejan

1 new defect(s) introduced to IJHack/qtpass found with Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)

** CID 277649: Uninitialized members (UNINIT_CTOR)
/src/trayicon.cpp: 35 in TrayIcon::TrayIcon(QMainWindow *)()


*** CID 277649: Uninitialized members (UNINIT_CTOR)
/src/trayicon.cpp: 35 in TrayIcon::TrayIcon(QMainWindow *)()
29 isAllocated = true;
30 } else {
31 dbg() << "No tray icon for this OS possibly also not show options?";
32
33 isAllocated = false;
34 }

CID 277649: Uninitialized members (UNINIT_CTOR)
Non-static class member "parentwin" is not initialized in this constructor nor in any functions that it calls.

35 }
36
37 /**
38 * @brief TrayIcon::setVisible show or hide the icon.
39 * @param visible
40 */

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions