mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup the prettyness of subsurface on Gtk+ style.
Fix some stuff concerning the pretyness of subsurface while running on Gnome and XFCE enviroments. This is the kind of stuff that I really didn`t want to put on the code but sometimes it`s for the best. this makes the MainTab much more bearable. There are still things to fix, like the size and positioning of some of the icons. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
d6f2988bcf
commit
8f94b904dd
3 changed files with 21 additions and 23 deletions
|
@ -95,6 +95,7 @@ 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");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue