[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 292947] crash on start / QTextLine::cursorToX
From:       Milian Wolff <mail () milianw ! de>
Date:       2012-01-31 10:44:04
Message-ID: E1RsBC0-00031z-7O () bugs ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=292947





--- Comment #2 from Milian Wolff <mail milianw de>  2012-01-31 10:44:03 ---
in my case maxwidth = 0 (probably the view is not yet shown) and hence
.setLineWidth is never called. this seems to be required before calling
cursorToX...

I can fix the crash for me by checking line.width() != 0 before calling
cursorToX. can I push this to kate as a workaround?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic