]> git.pld-linux.org Git - packages/mythtv.git/blame - mythtv-compile_fixes_for_qt_4_7.patch
- rel 5
[packages/mythtv.git] / mythtv-compile_fixes_for_qt_4_7.patch
CommitLineData
16ef5321 1---
2 libs/libmyth/mythdeque.h | 2 1 + 1 - 0 !
3 libs/libmythtv/recordingprofile.h | 2 1 + 1 - 0 !
4 libs/libmythtv/tv_rec.h | 2 1 + 1 - 0 !
5 libs/libmythupnp/eventing.h | 4 2 + 2 - 0 !
6 5 files changed, 6 insertions(+), 6 deletions(-)
7
8Index: mythtv/libs/libmythupnp/eventing.h
9===================================================================
10--- mythtv.orig/libs/libmythupnp/eventing.h 2010-01-10 08:49:06.000000000 -0500
11+++ mythtv/libs/libmythupnp/eventing.h 2010-07-01 22:34:54.000000000 -0400
12@@ -233,7 +233,7 @@
13 {
14 SVMap::iterator it = m_map.find(sName);
15 if (it == m_map.end())
16- return T(0);
17+ return T();
18
19 StateVariable< T > *pVariable =
20 dynamic_cast< StateVariable< T > *>( *it );
21@@ -241,7 +241,7 @@
22 if (pVariable != NULL)
23 return pVariable->GetValue();
24
25- return T(0);
26+ return T();
27 }
28
29 uint BuildNotifyBody(QTextStream &ts, TaskTime ttLastNotified) const;
30Index: mythtv/libs/libmyth/audiooutputbase.cpp
31===================================================================
32--- mythtv.orig/libs/libmyth/mythdeque.h 2009-09-11 15:07:19.000000000 -0400
33+++ mythtv/libs/libmyth/mythdeque.h 2010-07-01 22:34:54.000000000 -0400
34@@ -19,7 +19,7 @@
35 T dequeue()
36 {
37 if (deque<T>::empty())
38- return (T)(0);
39+ return T();
40 T item = deque<T>::front();
41 deque<T>::pop_front();
42 return item;
43Index: mythtv/libs/libmythtv/recordingprofile.h
44===================================================================
45--- mythtv.orig/libs/libmythtv/recordingprofile.h 2010-05-16 14:58:08.000000000 -0400
46+++ mythtv/libs/libmythtv/recordingprofile.h 2010-07-01 22:34:54.000000000 -0400
47@@ -84,7 +84,7 @@
48
49 public:
50 // initializers
51- RecordingProfile(QString profName = NULL);
52+ RecordingProfile(QString profName = QString());
53 virtual void loadByID(int id);
54 virtual bool loadByType(const QString &name, const QString &cardtype);
55 virtual bool loadByGroup(const QString &name, const QString &group);
56Index: mythtv/libs/libmythtv/tv_rec.h
57===================================================================
58--- mythtv.orig/libs/libmythtv/tv_rec.h 2010-05-16 14:58:08.000000000 -0400
59+++ mythtv/libs/libmythtv/tv_rec.h 2010-07-01 22:34:54.000000000 -0400
60@@ -93,7 +93,7 @@
61 class TuningRequest
62 {
63 public:
64- TuningRequest(uint f) :
65+ TuningRequest(uint f = 0) :
66 flags(f), program(NULL), channel(QString::null),
67 input(QString::null), majorChan(0), minorChan(0), progNum(-1) {;}
68 TuningRequest(uint f, RecordingInfo *p) :
This page took 0.042689 seconds and 4 git commands to generate.