ebe6aef62d
The delegate was still rendering display text. But we didn't realize because the only place where this delegate was used was returning a QVariant() for DisplayText role earlier. Once we started returning a valid QString (for copy-paste purposes), this bug showed up. This didn't work because we further delegate the actual painting to the base QStyledItemDelegate which re-initializes option.features from the item index values, so removing HasDisplay does not work. The fix is to override the displayText() to return a null string. |
||
---|---|---|
.github | ||
client | ||
common | ||
extra | ||
rpc | ||
server | ||
test | ||
.gitignore | ||
.travis.yml | ||
.vimrc | ||
COPYING | ||
install.pri | ||
options.pri | ||
ost.pro | ||
protobuf.pri | ||
README.md | ||
shared.pri | ||
version.pri |
Ostinato
This is the code repository for the Ostinato network packet crafter and traffic generator
Visit https://ostinato.org for demo video and details
Source License: GPLv3+ (see COPYING)
Author's note
I have been developing and maintaining Ostinato single-handedly for more than 12 years. And during this time I have grudgingly come around to the view that open source cannot survive and thrive without money. Mixing money with open-source is messy, but I don't see a way forward unless we as a community become open to the idea of talking about it and changing our culture so that money is no longer a bad word.
I sell binary licenses on ostinato.org to try and cover the costs of development. Please consider buying those - they are priced low enough that you can afford it or you could just as easily expense them to your organisation.
If you build Ostinato from source and find it useful, please sponsor to keep the lights on and sustain the project.
Read the Ostinato origin story.
Srivats P
Author, Ostinato