Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. FTP app crashes when clicking ".."

FTP app crashes when clicking ".."

Scheduled Pinned Locked Moved C++ Gurus
4 Posts 2 Posters 2.3k Views
  • 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.
  • C Offline
    C Offline
    cybert79
    wrote on last edited by
    #1

    Hi alln

    I am writing my first app for osx and have used QT and Xcode to get my code.
    Now when I run my app and I click on .. for directory browsing the app crashes.
    Can anyone help me?

    @ASSERT: "!isEmpty()" in file ../../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore/qlist.h, line 287

    (lldb)

    line 287 :

    inline void removeLast() { Q_ASSERT(!isEmpty()); erase(--end()); }@

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      Is the list empty by any chance when you try to remove an item?

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cybert79
        wrote on last edited by
        #3

        Yep, thx Andre, you gave me the right hint :)

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #4

          Question is: do you see how I arrived at that suggestion, based on your post?

          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