• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qucs / qucs / 650
57%

Build:
DEFAULT BRANCH: master
Ran 26 Apr 2015 01:48AM UTC
Jobs 1
Files 523
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
650

Pull #243

travis-ci

yodalee
fix crash when close file with editText focus

The repeat steps:
1. Open a schematic file.
2. Focus on a component property, show the property edit
3. Close the file
4. The program will crash

The source:
This bug is appeared since commit eadd7b

The cause:
When click on property edit, this line
qucs_action.cpp:1221, editText->reparent(...
will change the editText to child of the open document
At this time, if the document is closed, the editText will
be deleted by Qt
After that, qucs try to access to editText will access to invalid
memory.

The fix:
To be general, now editText will child of main app every time the
slotHideEdit() called, it's a little overhead, but guarantee safe.
function slotHideEdit() {
  ...
  editText->setParent(this, 0);
}
Pull Request #243: fix crash when close file with editText focus

13496 of 33310 relevant lines covered (40.52%)

347504.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 650.1 26 Apr 2015 01:48AM UTC 0
40.52
Travis Job 650.1
Source Files on build 650
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #650
  • Pull Request #243
  • PR Base - master (#648)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc