Skip to content

Commit

Permalink
Merge pull request #37 from libyui/fix-low-vision
Browse files Browse the repository at this point in the history
Fix usingHighContrastStyleSheet call
  • Loading branch information
imobachgs committed Oct 13, 2016
2 parents 2acb02f + c48d76c commit 52c02aa
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SET( VERSION_MAJOR "2" )
SET( VERSION_MINOR "45" )
SET( VERSION_PATCH "8" )
SET( VERSION_PATCH "9" )
SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" )

##### This is need for the libyui core, ONLY.
Expand Down
2 changes: 1 addition & 1 deletion package/libyui-qt-pkg-doc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
%define so_version 7

Name: %{parent}-doc
Version: 2.45.8
Version: 2.45.9
Release: 0
Source: %{parent}-%{version}.tar.bz2

Expand Down
8 changes: 8 additions & 0 deletions package/libyui-qt-pkg.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Oct 13 11:05:38 UTC 2016 - igonzalezsosa@suse.com

- Adapt to the latest API change regarding QY2Styler,
renaming usingHighContrastStyleSheet to usingAlternateStyleSheet
(related to bsc#780621)
- 2.45.9

-------------------------------------------------------------------
Tue Oct 11 15:03:27 UTC 2016 - igonzalezsosa@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/libyui-qt-pkg.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: libyui-qt-pkg
Version: 2.45.8
Version: 2.45.9
Release: 0
Source: %{name}-%{version}.tar.bz2

Expand Down
4 changes: 2 additions & 2 deletions src/YQPkgGenericDetailsView.cc
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ YQPkgGenericDetailsView::htmlHeading( ZyppSel selectable, bool showVersion )

QString html = "<table";

if ( ! QY2Styler::styler()->usingHighContrastStyleSheet() )
if ( ! QY2Styler::styler()->usingAlternateStyleSheet() )
html += " class=\"stats\"";

html += "><tr><td><b>"
Expand Down Expand Up @@ -203,7 +203,7 @@ QString
YQPkgGenericDetailsView::table( const QString & contents )
{
QString html = "<table";
if ( ! QY2Styler::styler()->usingHighContrastStyleSheet() )
if ( ! QY2Styler::styler()->usingAlternateStyleSheet() )
html += " class=\"stats\"";

html += ">" + contents + "</table>";
Expand Down

0 comments on commit 52c02aa

Please sign in to comment.