1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

[Cleanup] QTimer::start() restarts timer if it is already running

This commit is contained in:
nowrep 2014-02-14 19:31:35 +01:00
parent a99f954930
commit f9d3c102ec
4 changed files with 0 additions and 4 deletions

View File

@ -322,7 +322,6 @@ void BookmarksFilterModel::setFilterFixedString(const QString &pattern)
{
m_pattern = pattern;
m_filterTimer->stop();
m_filterTimer->start();
}

View File

@ -109,7 +109,6 @@ void BookmarksToolbar::refresh()
void BookmarksToolbar::bookmarksChanged()
{
m_updateTimer->stop();
m_updateTimer->start();
}

View File

@ -51,7 +51,6 @@ void DesktopNotification::show()
ui->text->setText(m_text);
if (!m_settingPosition) {
m_timer->stop();
m_timer->setInterval(m_timeout);
m_timer->start();
}

View File

@ -529,7 +529,6 @@ void HistoryFilterModel::setFilterFixedString(const QString &pattern)
{
m_pattern = pattern;
m_filterTimer->stop();
m_filterTimer->start();
}