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

Qucs / qucs / 650 / 1
57%
master: 57%

Build:
DEFAULT BRANCH: master
Ran 26 Apr 2015 01:48AM UTC
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

26 Apr 2015 01:32AM UTC coverage: 40.516% (+0.003%) from 40.513%
650.1

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

Source Files on job 650.1
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 650
  • Travis Job 650.1
  • b34df0e4 on github
  • Prev Job for on master (#648.1)
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