Commit Graph

25 Commits

Author SHA1 Message Date
Mike Gelfand 17d6666b4c 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.
2014-12-27 14:07:14 +00:00
Mike Gelfand 629281a1e2 Fix license wording in Qt client .cc files to match the rest of the code. 2014-12-21 23:49:39 +00:00
Mike Gelfand 67dc1c8485 Strip spaces around :: in C++ code (Qt client) 2014-12-12 23:05:10 +00:00
Jordan Lee 4b9626bb83 Licensing changes:
1. add the option the code to be used under GPLv2 or GPLv3; previously only GPLv2 was allowed

2. add the "proxy option" as described in GPLv3 so we can add future licenses without having to bulk-edit everything again :)

3. remove the awkward "exception for MIT code in Mac client" clause; it was unnecessary and confusing.
2014-01-19 01:09:44 +00:00
Jordan Lee 4904b923fb (trunk) restore copyright year as suggested in email by rms 2014-01-18 20:56:57 +00:00
Jordan Lee da317c441d copyediting: indentation cleanups 2013-09-14 22:45:04 +00:00
Jordan Lee 3cf26eb273 revert quint64/quint32/qint64/qint32 use to inttypes to match libtransmission's API 2013-08-29 00:37:37 +00:00
Jordan Lee f3d35b0da3 instead of inttypes, use Qt integral types -- eg, s/uint64_t/quint64/ 2013-08-24 19:42:51 +00:00
Jordan Lee 4e079b5f88 #5165: undo whitespace damage 2013-04-10 02:07:14 +00:00
Jordan Lee 00a5e86939 (qt) #5282 "Formatter's sizeToString() and memToString() return wrong text for 0 bytes": fixed. 2013-02-09 18:59:05 +00:00
Jordan Lee 47f2192b2d (qt) in the statusbar, use the same upload/download symbols as in the torrent list 2013-02-05 23:05:26 +00:00
Jordan Lee 20fe66bccf more experimentation with the shortTransferString 2013-01-30 00:22:52 +00:00
Jordan Lee 9d6db0da15 (qt) #5219 'QPrintable and non Latin-1 symbols on Ubuntu' -- clean fix by rb07 2013-01-17 18:11:55 +00:00
Jordan Lee fbc7f3dc3c (trunk) use base-10 units for network bandwidth (ie, speed) and disk sizes.
It looks like the Mac client is already doing this and it's clearly the trend in other apps as well. Even apt-get is using kB/s, ferchrissake... :)

Flame away.
2012-02-03 21:21:52 +00:00
Jordan Lee 72d9d74517 (trunk qt) #4236 "Update formatter functions to operate with signed integers" -- patch by taem 2011-05-12 20:21:27 +00:00
Charles Kerr 1477c8909f (trunk qt) synchronize the copyright notices 2010-08-01 20:36:13 +00:00
Charles Kerr 5ebcdd5fc5 (trunk qt) fix minor roundoff error in speed formatter 2010-07-31 05:54:46 +00:00
Charles Kerr e6bafdf26b (trunk) #3045 "size units" -- sync the default units in all the apps s.t. they're consistent with each other 2010-07-28 00:31:11 +00:00
Charles Kerr 7ae565ccdf (trunk qt) silence a few compiler warnings 2010-07-25 20:36:33 +00:00
Charles Kerr e5ed55808e (trunk qt) use the GTK+ client's compact mode 2010-07-24 02:43:06 +00:00
Charles Kerr 52c04a0d06 (trunk) some units formatter cleanup. 2010-07-09 20:53:38 +00:00
Charles Kerr 2528bfe2a3 (trunk qt) ensure that units are i18nized in the Qt client. Update the Qt translation files. 2010-07-07 00:30:42 +00:00
Charles Kerr 610061f79a (trunk T) #3045 "units" -- modify the formatter functions based on feedback from BMW 2010-07-06 20:25:54 +00:00
Charles Kerr 6e5af03d78 (trunk) #3045 "speed units" -- change the public API of libtransmission based on feedback from livings 2010-07-04 06:07:21 +00:00
Charles Kerr bb92d05860 (trunk) rename the Qt client's "Units" class as "Formatter" 2010-07-03 01:10:36 +00:00
Renamed from qt/units.cc (Browse further)