qtutils: use setAutoFillBackground(True) for the toolbars
commita3f13fe6b669b6a332fa6a6a2b442d8d5654f0c1
authorDavid Aguilar <davvid@gmail.com>
Sat, 12 Nov 2016 10:30:18 +0000 (12 02:30 -0800)
committerDavid Aguilar <davvid@gmail.com>
Sat, 12 Nov 2016 10:30:58 +0000 (12 02:30 -0800)
treea5dd9c65ff2af37ca631907727bda71d38d910a7
parent8ac8f930956f58c26d2317c81b53bbd9d5263555
qtutils: use setAutoFillBackground(True) for the toolbars

Ensure that the paint event always uses the background color by calling
setAutoFillBackground(True).  This avoids getting black titlebars under
certain situations on Mac OS X.

Closes #624
Reported-by: Utku Karatas <m.utku.k@gmail.com>
Signed-off-by: David Aguilar <davvid@gmail.com>
cola/qtutils.py