Skip to content
Snippets Groups Projects
  • Studer Gabriel's avatar
    bb0e6863
    avoid widget showing up twice · bb0e6863
    Studer Gabriel authored
    QT5 shows a widget twice when you set a parent at initialization
    and reset the parent later. This is exactly what happens when a
    widget is initialized and passed to AddWidget in the gosty app.
    The solution is to initialize them without a parent and let
    the AddWidget function taking care of it.
    bb0e6863
    History
    avoid widget showing up twice
    Studer Gabriel authored
    QT5 shows a widget twice when you set a parent at initialization
    and reset the parent later. This is exactly what happens when a
    widget is initialized and passed to AddWidget in the gosty app.
    The solution is to initialize them without a parent and let
    the AddWidget function taking care of it.