~ubuntu-branches/ubuntu/raring/filelight/raring-proposed

« back to all changes in this revision

Viewing changes to debian/patches/gcc4.5.patch

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-15 15:09:43 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20111215150943-pchy42ow3jjr09hk
Tags: 4:4.7.90-0ubuntu1
Initial package

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Description: Fix gcc4.5 build failures
2
 
 "for a function-style cast, remove the redundant '::KUrl'"
3
 
Author: Raúl Sánchez Siles <rasasi78@gmail.com>
4
 
Origin: vendor
5
 
Last-Update: 2010-03-14
6
 
--- a/src/app/mainWindow.cpp
7
 
+++ b/src/app/mainWindow.cpp
8
 
@@ -222,7 +222,7 @@
9
 
 
10
 
 inline bool MainWindow::slotScanPath(const QString &path)
11
 
 {
12
 
-    return slotScanUrl(KUrl::KUrl(path));
13
 
+    return slotScanUrl(KUrl(path));
14
 
 }
15
 
 
16
 
 bool MainWindow::slotScanUrl(const KUrl &url)
17
 
--- a/src/part/radialMap/widget.cpp
18
 
+++ b/src/part/radialMap/widget.cpp
19
 
@@ -64,7 +64,7 @@
20
 
 KUrl
21
 
 RadialMap::Widget::url(File const * const file) const
22
 
 {
23
 
-    return KUrl::KUrl(file ? file->fullPath() : m_tree->fullPath());
24
 
+    return KUrl(file ? file->fullPath() : m_tree->fullPath());
25
 
 }
26
 
 
27
 
 void