~ubuntu-branches/ubuntu/saucy/clementine/saucy

« back to all changes in this revision

Viewing changes to debian/patches/fix_floating_point_compilation.patch

  • Committer: Package Import Robot
  • Author(s): Thomas PIERSON
  • Date: 2012-01-01 20:43:39 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120101204339-lsb6nndwhfy05sde
Tags: 1.0.1+dfsg-1
New upstream release. (Closes: #653926, #651611, #657391)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Description: Fix FTBFS by qFuzzyCompare function on armel, armhf and sh4.
2
 
Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3
 
Bug-Debian: http://bugs.debian.org/636001
4
 
Applied-Upstream: http://code.google.com/p/clementine-player/source/detail?r=3ded9f29d256273c64be02ac1a7775b7cd932a48
5
 
---
6
 
--- clementine-0.7.1+dfsg.orig/src/widgets/nowplayingwidget.cpp
7
 
+++ clementine-0.7.1+dfsg/src/widgets/nowplayingwidget.cpp
8
 
@@ -341,7 +341,7 @@ void NowPlayingWidget::DrawContents(QPai
9
 
 
10
 
 void NowPlayingWidget::FadePreviousTrack(qreal value) {
11
 
   previous_track_opacity_ = value;
12
 
-  if (qFuzzyCompare(previous_track_opacity_, 0.0)) {
13
 
+  if (qFuzzyCompare(previous_track_opacity_, qreal(0.0))) {
14
 
     previous_track_ = QPixmap();
15
 
   }
16