From 18e0d122fbc97d8634ed865454eda9c9cc5c832f Mon Sep 17 00:00:00 2001 From: Nick Tiskov Date: Wed, 24 Jul 2013 16:33:28 +0400 Subject: [PATCH] Add tooltip to episode filter text edit --- src/rss/automatedrssdownloader.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/rss/automatedrssdownloader.cpp b/src/rss/automatedrssdownloader.cpp index 843930ea7..5833913b0 100644 --- a/src/rss/automatedrssdownloader.cpp +++ b/src/rss/automatedrssdownloader.cpp @@ -73,6 +73,16 @@ AutomatedRssDownloader::AutomatedRssDownloader(const QWeakPointer& m Qt::CaseInsensitive), ui->lineEFilter); ui->lineEFilter->setValidator(m_episodeValidator); + QString tip = "

" + tr("Matches articles based on episode filter.") + "

" + tr("Example: ") + + "1x2;8-15;5;30-;" + tr(" will match 2, 5, 8 through 15, 30 and onward episodes of season one", "example X will match") + "

"; + tip += "

" + tr("Episode filter rules: ") + "

"; + ui->lineEFilter->setToolTip(tip); initLabelCombobox(); loadFeedList(); loadSettings();