[kopete-bugs] [Bug 257321] New: build fails - argument mismatch in kopeteinfodialog.cpp

tropikhajma tropikhajma at gmail.com
Fri Nov 19 14:07:57 CET 2010


https://bugs.kde.org/show_bug.cgi?id=257321

           Summary: build fails - argument mismatch in
                    kopeteinfodialog.cpp
           Product: kopete
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Notifications
        AssignedTo: kopete-bugs at kde.org
        ReportedBy: tropikhajma at gmail.com


Version:           unspecified (using Devel) 
OS:                Solaris

building kdenetwork from trunk fails with
...
"/export/home/test/Dashboards/installs/2.8.1/kdelibs/include/KDE/../ktitlewidget.h",
line 144: Error: Formal argument alignment of type QFlags<Qt::AlignmentFlag> in
call to KTitleWidget::setText(const QString&, QFlags<Qt::AlignmentFlag>) is
being passed int.

(http://my.cdash.org/viewBuildError.php?buildid=116010)

this is using the Sun Studio 12.1 compiler on Solaris 11 Express

the below patch fixes it for me:
Index: kopete/libkopete/ui/kopeteinfodialog.cpp
===================================================================
--- kopete/libkopete/ui/kopeteinfodialog.cpp    (revision 1197844)
+++ kopete/libkopete/ui/kopeteinfodialog.cpp    (working copy)
@@ -90,7 +90,7 @@

 void InfoDialog::setTitle(const QString &title)
 {
-       d->title->setText( title );
+       d->title->setText( title, Qt::AlignLeft );
 }


Reproducible: Always

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the kopete-bugs mailing list