Author: dmacvicar
Date: Sat Dec 8 02:02:41 2007
New Revision: 42838
URL: http://svn.opensuse.org/viewcvs/yast?rev=42838&view=rev
Log:
YQPkgDescriptionView QT3_SUPPORT
Modified:
trunk/qt4/src/pkg/YQPkgDescriptionView.cc
Modified: trunk/qt4/src/pkg/YQPkgDescriptionView.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt4/src/pkg/YQPkgDescriptionView.cc?rev=42838&r1=42837&r2=42838&view=diff
==============================================================================
--- trunk/qt4/src/pkg/YQPkgDescriptionView.cc (original)
+++ trunk/qt4/src/pkg/YQPkgDescriptionView.cc Sat Dec 8 02:02:41 2007
@@ -16,8 +16,6 @@
/-*/
-#define QT3_SUPPORT 1
-
#define y2log_component "qt-pkg"
#include
@@ -82,7 +80,7 @@
while ( it != lines.end() )
{
- QString line = htmlEscape( *it ).stripWhiteSpace();
+ QString line = htmlEscape( *it ).trimmed();
if ( line.startsWith( "Authors:" ) )
{
@@ -123,13 +121,13 @@
QString pkgName = url;
pkgName.remove( QRegExp( "^pkg:/*" ) ); // Remove leading protocol and slashes
pkgName.remove( QRegExp( "/*$" ) ); // Remove trailing slashes
- y2milestone( "Hyperlinking to package '%s'", (const char *) pkgName );
+ y2milestone( "Hyperlinking to package '%s'", qPrintable(pkgName) );
YQPkgDescriptionDialog::showDescriptionDialog( pkgName );
}
else
{
y2error( "Protocol not supported - can't follow hyperlink '%s'",
- (const char *) url );
+ qPrintable(url) );
}
}
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org