Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383713 - kde-base/kdelibs-4.7.1 has mistake in /usr/include/kio/slavebase.h:393
Summary: kde-base/kdelibs-4.7.1 has mistake in /usr/include/kio/slavebase.h:393
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-19 21:25 UTC by anonymous
Modified: 2011-09-24 22:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.