[mythtv-commits] mythtv branch master updated by stuartm. v0.27-pre2-604-ga05b4d4

Git Repo Owner noreply at mythtv.org
Thu Feb 14 14:22:20 UTC 2013


The branch, master has been updated on the
mythtv repository by gitolite user stuartm.
       via  a05b4d48da71f1e65f01cde7693d539644635d5e (commit)
      from  efc1e46a8a2d913a8070483178ca46293f0a4423 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a05b4d48da71f1e65f01cde7693d539644635d5e
Author:    Stuart Morgan <smorgan at mythtv.org> at Thu, 14 Feb 2013 14:00:16 +0000
Committer: Stuart Morgan <smorgan at mythtv.org> at Thu, 14 Feb 2013 14:00:16 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=a05b4d48da71f1e65f01cde7693d539644635d5e

Simplify some file list usage using filters new to QT4
QT4 introduced a 'QDir::NoDotAndDotDot' filter for use with QDir::setFilter(),
QDir::entryList() and QDir::entryInfoList(). This allows us to
simplify a few places in the code by removing our own . and .. checks.

Thanks to Rolf Eike Beer <eike at sf-mail.de> for spotting the problem
and providing an example patch. Since there were many more examples in
the code than the one he highlighted I decided to fix them all in one
commit instead of applying his patch.



-----------------------------------------------------------------------

Summary of changes:
 .../mythgallery/mythgallery/galleryfilter.cpp      |    5 +--
 .../mythgallery/mythgallery/galleryutil.cpp        |   27 ++++++++-----------
 mythplugins/mythgallery/mythgallery/iconview.cpp   |   10 +++----
 .../mythgallery/mythgallery/thumbgenerator.cpp     |    6 +---
 mythplugins/mythgame/mythgame/gamehandler.cpp      |   14 +---------
 mythplugins/mythmusic/mythmusic/filescanner.cpp    |    3 +-
 mythplugins/mythmusic/mythmusic/importmusic.cpp    |    8 ++---
 .../mythweather/mythweather/sourceManager.cpp      |    5 +--
 mythtv/libs/libmyth/mediamonitor-unix.cpp          |   10 +------
 mythtv/libs/libmythbase/mythmedia.cpp              |    5 +---
 mythtv/libs/libmythbase/storagegroup.cpp           |    7 +---
 mythtv/libs/libmythmetadata/dirscan.cpp            |    9 ++----
 mythtv/libs/libmythmetadata/videometadata.cpp      |    8 +----
 mythtv/libs/libmythui/mythuihelper.cpp             |    8 +----
 mythtv/programs/mythfrontend/themechooser.cpp      |    5 +--
 15 files changed, 40 insertions(+), 90 deletions(-)

-- 



More information about the mythtv-commits mailing list