Results 1 to 7 of 7

Thread: QListWidgetItem->text() causing application segfault

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2006
    Posts
    163
    Thanks
    12
    Thanked 5 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Wink QListWidgetItem->text() causing application segfault

    I have an instance of a QListWidget in my applications MainWindow. Adding anything to it goes fine, using QListWidget->addItem(const QString&). However, every time I try and access the current selected items text using QListWidget->currentItem()->text(), it causes a segfault. This is on Gentoo Linux, using Qt 4.1 BTW. Is this a (known) bug, or am I making some horrible logic error?
    Last edited by Valheru; 21st August 2006 at 13:12.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.