Skip to content
This repository was archived by the owner on Dec 9, 2021. It is now read-only.

Show the autotype sequence when inheriting from default#103

Open
cbrunet wants to merge 2 commits intokeepassx:masterfrom
cbrunet:ShowAutotypeSequence
Open

Show the autotype sequence when inheriting from default#103
cbrunet wants to merge 2 commits intokeepassx:masterfrom
cbrunet:ShowAutotypeSequence

Conversation

@cbrunet
Copy link
Copy Markdown
Contributor

@cbrunet cbrunet commented May 16, 2015

This way, it is easier to start from current autotype sequence when modifying it.

Copy link
Copy Markdown

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't use this - it segfaults (see comments which I added to the respective lines below)

QString Group::effectiveAutoTypeSequence() const
{
QString sequence;
const Group* grp = this;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

//FIXME: 'this' is nil here! yes here!

QString sequence;
const Group* grp = this;
do {
if (grp->autoTypeEnabled() == Group::Disable) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

//and it segfaults here but not because of that function call, but because of Group::Disable (and because this is freakin null here!)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant