Only set documentMode on tab if in Oxygen style.

This is much better looking in the Oxygen style, and
on the other styles it looks like crap - so let`s not
use that.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
Tomaz Canabrava 2013-09-26 17:02:27 -03:00
parent 28dd4d144a
commit 57ebed9dd0
2 changed files with 5 additions and 8 deletions

View file

@ -95,7 +95,6 @@ void init_ui(int *argcp, char ***argvp)
// the Gtk theme makes things unbearably ugly
// so switch to Oxygen in this case
qDebug() << application->style()->objectName();
if (application->style()->objectName() == "gtk+")
application->setStyle("Oxygen");