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
SVN commit 1203442 by pavelheimlich: fix argument mismatch BUG:257321 M +1 -1 kopeteinfodialog.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1203442