[bt-devel] Close button on tabs
Jaak Ristioja
jaak at ristioja.ee
Sat Aug 20 00:54:58 MST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 20.08.2011 06:22, Gary Holmlund wrote:
> Jaak,
>
> I was looking at the feature requests and saw that the request to add
> close buttons to tabs would be easy to do. I checked it in a bit ago. I
> did not realize that you had recently assigned it to yourself until I
> went to close it. I am sorry for not checking this first.
>
> Gary
Hi Gary!
No problem. This is not high-priority thing anyway. Thanks you for your
contribution! :) I took a quick look at your commit, and I have a few
small questions/issues about this:
* Are you sure the using findChildren() is ok? I mean it's recursive and
could match any QTabBar in the QObject chain. Maybe we should explicitly
use a QTabWidget for this MDI type.
* setTabsCloseable was introduced in Qt 4.5. Can anybody recall what was
the minimum Qt version we require?
* Do we really need to use disconnect() there?
* Changelog entry had extra space at the end of line (git diff printed
it out RED)
* #includes appear to be in non-alphabetical order (would be easier to
read imho).
Feel free to express your opinion and argue with me :)
Many blessings! :)
Jaak
PS: We should really consider setting up a better bug-tracker than the
one at SourceForge. I have a strong preference for Bugzilla because my
bug-reporting experience with projects like Gentoo Linux, Linux Kernel,
KDE, GNU GCC, RedHat etc have been mostly very positive with it. It
provides a lot better email notifications. I might try to setup Bugzilla
on my home server (just got a lot of more bandwidth) at some point...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
iQgcBAEBAgAGBQJOT2hOAAoJEHeFv6jk2xWmbMJAAISzcb9PVVwPZirnKQkwUYUJ
+Fglu8HJ7wbnhFTsZtb/gr51HJaCsmD0qtZ154T2qalmMtZM8RJ6tZ0jLPd/1IDS
zxts9fNkuVi3VFQKjje83q3lTPYtXFK3nJZoJUcf2OHdZBdoijcdrQZIgELFmz+9
aWveAkM4EWEHKpzcFaxHx98P3BzFZJSStf5Fl66pizA7GULojG3K+bn5UTWBLscM
ggHeSNXpppgtYx6zuYCGgfO0JD+rVeaApA/nrIQPhgnweiwAmh0brenEVGzxgZw8
yMmNwd0GHR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