]> granicus.if.org Git - transmission/commit
A bit of harmless refactoring
authorMike Gelfand <mikedld@mikedld.com>
Sat, 27 Dec 2014 14:07:14 +0000 (14:07 +0000)
committerMike Gelfand <mikedld@mikedld.com>
Sat, 27 Dec 2014 14:07:14 +0000 (14:07 +0000)
commit17d6666b4c32b9a8ae693a5f7543e766205f6b23
tree558302e9d240d6a37b4b9ed89a8bdf8bdecd780b
parent2ca4596faceeb8e042b01d7c64dd9b2cd86a2798
A bit of harmless refactoring

Prefer C++-style over C-style type casting.
Use qApp instead of QApplication/QCoreApplication::instance().
Use explicit QString::fromLatin1()/fromUtf8() where applicable.
21 files changed:
qt/about.cc
qt/add-data.cc
qt/app.cc
qt/app.h
qt/details.cc
qt/file-tree.cc
qt/filterbar.cc
qt/formatter.cc
qt/mainwin.cc
qt/make-dialog.cc
qt/options.cc
qt/prefs.cc
qt/prefs.h
qt/session.cc
qt/torrent-delegate-min.cc
qt/torrent-delegate.cc
qt/torrent.cc
qt/torrent.h
qt/tracker-delegate.cc
qt/tracker-model.cc
qt/utils.cc