ok, the last commit was tiny, but still broke compilation...

the other things this commit fixes is the reason why I like java's "super()"

svn path=/trunk/kdepim/; revision=376404
wilder-work
Daniel Molkentin 22 years ago
parent 5f223227f7
commit 8f2654cbe8
  1. 4
      recipientseditor.cpp

@ -112,13 +112,13 @@ QStringList Recipient::allTypeLabels()
void RecipientLineEdit::keyPressEvent( QKeyEvent *ev )
{
if ( ev->key() == Key_Backspace && isEmpty() )
if ( ev->key() == Key_Backspace && text().isEmpty() )
{
ev->accept();
emit deleteMe();
}
else
QLineEdit::keyPressEvent( ev );
KMLineEdit::keyPressEvent( ev );
}

Loading…
Cancel
Save