Hi,
I have a tiny but nice improvement for KeePassX. I just inserted a line with a setFocus() call to the quick search edit control within the task bar. So now I can start entering a search string immediately after I've unlocked the DB or when I open the main window from the task bar. It's no magic - but to me it's very helpful.
--
void KeepassMainWindow::showEvent(QShowEvent* event){
if (IsLocked && !InUnLock && event->spontaneous()){
#ifndef Q_WS_MAC
showNormal(); // workaround for some graphic glitches
#endif
OnUnLockWorkspace();
}
QuickSearchEdit->setFocus(); // <-- insert line
QMainWindow::showEvent(event);
}
--
