Results 1 to 20 of 20

Thread: Assert problem in line edit

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Assert problem in line edit

    maybe lines is empty?
    try to add this line in your code
    Qt Code:
    1. void DatumForm::init()
    2. {
    3. ...
    4. QStringList lines = QStringList::split( FIELD_SEP, resulttemp );
    5. if (lines.isEmpty())
    6. return;
    7. ...
    8. }
    To copy to clipboard, switch view to plain text mode 
    Last edited by spirit; 27th July 2009 at 07:35.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

Similar Threads

  1. Problem updating Line edit from a thread
    By raghvendramisra in forum Qt Programming
    Replies: 5
    Last Post: 3rd December 2007, 05:05
  2. Line Edit Controll problem
    By mansoorulhaq in forum Qt Programming
    Replies: 5
    Last Post: 31st October 2007, 08:33
  3. Replies: 8
    Last Post: 15th May 2007, 09:21
  4. QTableView paints too much
    By Jimmy2775 in forum Qt Programming
    Replies: 2
    Last Post: 26th July 2006, 18:42
  5. Signal problem in Qline Edit
    By awalesminfo in forum Newbie
    Replies: 1
    Last Post: 3rd April 2006, 09:13

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.