Bug 276227

Summary: build failure - QString
Product: [Applications] kalzium Reporter: tropikhajma <tropikhajma>
Component: generalAssignee: Kalzium Developers <kalzium>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tropikhajma 2011-06-22 02:14:51 UTC
Version:           unspecified (using KDE 4.6.4) 
OS:                Solaris

build fails with the below message,
the below patch fixes that

kdebuild/packages/BUILD/kdeedu-4.6.4/kalzium/src/kdeeduglossary.h", line 36: Error: Overloading ambiguity between "QString::QString(const QChar*)" and "QString::QString(const char*)".
kdebuild/packages/BUILD/kdeedu-4.6.4/kalzium/src/kdeeduglossary.h", line 36: Error: Cannot use int to initialize const QString.


--- kalzium/src/kdeeduglossary.h.orig	2011-06-22 00:04:03.384213491 +0000
+++ kalzium/src/kdeeduglossary.h	2011-06-22 00:05:53.914435402 +0000
@@ -33,7 +33,7 @@
 		 * @param url the path of the file to load
 		 * @param path the path of the pictures
 		 */
-		explicit Glossary( const KUrl& url, const QString& path = 0 );
+		explicit Glossary( const KUrl& url, const QString& path = QString() );
 
 		/**
 		 * Creates a new empty glossary


Reproducible: Always
Comment 1 Etienne 2011-06-22 21:15:52 UTC
Git commit 1d21f13b2b6b9a9851f6872da173dabf412ed28c by Etienne Rebetez.
Committed on 22/06/2011 at 20:31.
Pushed by erebetez into branch '4.6'.

Fix compilation error in the glossary class.
Master is fine, not shure how it got on the 4.6 branch ...
BUG:276227

M  +1    -1    src/kdeeduglossary.h     

http://commits.kde.org/kalzium/1d21f13b2b6b9a9851f6872da173dabf412ed28c