Search
j0ke.net Open Build Service
>
Projects
>
KDE
:
Qt
:
STABLE
>
libqt4-sql-plugins
> qgtkstyle-no-gtk-crash.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File qgtkstyle-no-gtk-crash.diff of Package libqt4-sql-plugins
--- src/gui/styles/qgtkstyle.cpp +++ src/gui/styles/qgtkstyle.cpp @@ -3404,7 +3404,7 @@ QRect QGtkStyle::subElementRect(SubElement element, const QStyleOption *option, case SE_ProgressBarGroove: return option->rect; case SE_PushButtonContents: - if (!d->gtk_check_version(2, 10, 0)) { + if (d->isThemeAvailable() && !d->gtk_check_version(2, 10, 0)) { GtkWidget *gtkButton = d->gtkWidget(QLS("GtkButton")); GtkBorder *border = 0; d->gtk_widget_style_get(gtkButton, "inner-border", &border, NULL);