// Clear the word input when Clear button is tapped
QObject::connect(btnClear, SIGNAL(clicked()), wordinput, SLOT(clear()));
QObject::connect(btnClear, SIGNAL(clicked()), labVerb, SLOT(clear()));
+ QObject::connect(btnClear, SIGNAL(clicked()), wordinput, SLOT(setFocus()));
QObject::connect(wordinput, SIGNAL(returnPressed()), this, SLOT(startLookup()));
QObject::connect(btnLookup, SIGNAL(clicked()), this, SLOT(startLookup()));
#else
show();
#endif
+ wordinput->setFocus();
}
void MainWindow::startLookup()