Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 383713

Summary: kde-base/kdelibs-4.7.1 has mistake in /usr/include/kio/slavebase.h:393
Product: Gentoo Linux Reporter: anonymous <gentoobugs>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description anonymous 2011-09-19 21:25:46 UTC
On 393 line I found:
virtual void get( cOnst KUrl& url );
but expected:
virtual void get( const KUrl& url );

Reproducible: Always




I think, this simple path solve the problem.


--- slavebase.h.new     2011-09-20 00:04:02.703828458 +0300
+++ slavebase.h 2011-09-20 00:04:28.060445675 +0300
@@ -390,7 +390,7 @@
      * can now happen. All with a single call to get() in the slave.
      * This mechanism is also described in KIO::get().
      */
-    virtual void get( cOnst KUrl& url );
+    virtual void get( const KUrl& url );
 
     /**
      * open.
Comment 1 anonymous 2011-09-19 21:30:39 UTC
Oops.. sorry, path has mistake.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2011-09-24 22:40:54 UTC
Not in the git version, not in the release tarball, not on my system, and it's not touched by any patch. 

(And the line has not been changed for a while in git.)

Sorry, but this looks like a flipped bit on your box. Try reinstalling kdelibs.