Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. why the slot connected to editingFinished() signal in QLineEdit implement twice when i press the Enter on keyboard?
Forum Updated to NodeBB v4.3 + New Features

why the slot connected to editingFinished() signal in QLineEdit implement twice when i press the Enter on keyboard?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 693 Views 1 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.
  • O Offline
    O Offline
    opengpu2
    wrote on last edited by
    #1

    why the slot connected to editingFinished() signal in QLineEdit implement twice when i press the Enter on keyboard?

    K 1 Reply Last reply
    0
    • O opengpu2

      why the slot connected to editingFinished() signal in QLineEdit implement twice when i press the Enter on keyboard?

      K Offline
      K Offline
      koahnig
      wrote on last edited by koahnig
      #2

      @opengpu2
      Typically you have connected twice the same signal to the same slot.
      you can use dumpObjectInfo to find out how many connection have been actually established.

      Vote the answer(s) that helped you to solve your issue(s)

      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