~ubuntu-branches/ubuntu/precise/kdenetwork/precise

« back to all changes in this revision

Viewing changes to kget/ui/newtransferdialog.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-01-20 12:10:23 UTC
  • mfrom: (1.1.66)
  • Revision ID: package-import@ubuntu.com-20120120121023-5dqnjhqvzt7e9g6l
Tags: 4:4.8.0-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
 
59
59
    //timer to avoid constant checking of the input
60
60
    m_timer = new QTimer(this);
61
 
    m_timer->setInterval(150);
 
61
    m_timer->setInterval(350);
62
62
    m_timer->setSingleShot(true);
63
63
    connect(m_timer, SIGNAL(timeout()), this, SLOT(checkInput()));
64
64
 
266
266
void NewTransferDialog::inputTimer()
267
267
{
268
268
    enableButtonOk(false);
269
 
    if (!m_timer->isActive()) {
270
 
        m_timer->start();
271
 
    }
 
269
    m_timer->start();
272
270
}
273
271
 
274
272
void NewTransferDialog::checkInput()