Results 1 to 3 of 3

Thread: Container's removing item problem.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2008
    Location
    Istanbul, TURKEY
    Posts
    537
    Thanks
    14
    Thanked 13 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Windows Android

    Default Container's removing item problem.

    Hi,

    Qt Code:
    1. cs_manager->getUnansweredCalls().clear();
    To copy to clipboard, switch view to plain text mode 

    does not clear the list(unanswered calls).

    But, the following clears the temp_list;

    Qt Code:
    1. QList<CallSession*> temp_list = cs_manager->getUnansweredCalls();
    2. temp_list .clear();
    To copy to clipboard, switch view to plain text mode 


    Any ideas?
    Last edited by zgulser; 23rd July 2012 at 12:07.

Similar Threads

  1. help -- removing items from QList container
    By drinkwater in forum Newbie
    Replies: 4
    Last Post: 28th January 2012, 16:03
  2. Removing item from layout without deleting it.
    By mrc_pl in forum Qt Programming
    Replies: 2
    Last Post: 24th January 2012, 11:24
  3. Container item implementation
    By onurozcelik in forum Qt Programming
    Replies: 6
    Last Post: 12th May 2010, 12:00
  4. removing an item from a treeWidget
    By user in forum Qt Programming
    Replies: 0
    Last Post: 13th November 2008, 01:19

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
  •  
Qt is a trademark of The Qt Company.