~ubuntu-branches/ubuntu/saucy/quassel/saucy-proposed

« back to all changes in this revision

Viewing changes to src/qtui/chatviewsearchbar.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-02-17 12:49:50 UTC
  • mto: This revision was merged to the branch mainline in revision 59.
  • Revision ID: james.westby@ubuntu.com-20100217124950-v9hajw5d2xa6fszn
Tags: upstream-0.6~beta1
ImportĀ upstreamĀ versionĀ 0.6~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
  // a resize event which can lead to strange side effects.
59
59
  ui.searchEditLine->clear();
60
60
  QWidget::setVisible(visible);
61
 
  if(visible) ui.searchEditLine->setFocus();
 
61
  if(visible)
 
62
    ui.searchEditLine->setFocus();
 
63
  else
 
64
    emit hidden();
62
65
}
63
66
 
64
67
void ChatViewSearchBar::delaySearch() {