Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Events after Object destruction
Forum Updated to NodeBB v4.3 + New Features

Events after Object destruction

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
23 Posts 7 Posters 7.0k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A anli

    @JonB :
    We tried it and currently do not get the problems there. We are currently trying to understand why.

    @J-Hilk :
    We also tried this, but the second event got fired, before the button is disabled...

    J.HilkJ Offline
    J.HilkJ Offline
    J.Hilk
    Moderators
    wrote on last edited by
    #21

    @anli said in Events after Object destruction:

    We also tried this, but the second event got fired, before the button is disabled...

    mmh, I'll like to throw in a new idea.
    You should check, if your connection between button and slot is unique. If you called connect somewhere twice, than this could lead to the race condition.


    Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


    Q: What's that?
    A: It's blue light.
    Q: What does it do?
    A: It turns blue.

    1 Reply Last reply
    1
    • A Offline
      A Offline
      anli
      wrote on last edited by
      #22

      @JKSH :
      Good idea! I will try this next.

      @J-Hilk :
      I have checked the code for hat, but did not find any issues.
      The problem is not always there, it just occurs, if I make several clicks on the same button while the software is busy doing some work.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jmhd12
        wrote on last edited by
        #23

        Hello, Have you figured it out what was the problem? I'm having a similar issue.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved