YQPkgPatternList QT3_SUPPORT
authordmacvicar <dmacvicar@e0cc52ee-31ee-0310-8b87-e83c4596d67c>
Sat, 8 Dec 2007 01:02:30 +0000 (01:02 +0000)
committerdmacvicar <dmacvicar@e0cc52ee-31ee-0310-8b87-e83c4596d67c>
Sat, 8 Dec 2007 01:02:30 +0000 (01:02 +0000)
git-svn-id: http://svn.opensuse.org/svn/yast/trunk/qt4@42835 e0cc52ee-31ee-0310-8b87-e83c4596d67c

src/pkg/YQPkgPatternList.cc

index d2bfc94..626a403 100644 (file)
@@ -18,8 +18,6 @@
 
 /-*/
 
-#define QT3_SUPPORT 1
-
 #define y2log_component "qt-pkg"
 #include <ycp/y2log.h>
 #include <QRegExp>
@@ -134,7 +132,7 @@ YQPkgPatternList::category( const QString & categoryName )
 
     if ( ! cat )
     {
-       y2debug( "New pattern category \"%s\"", (const char *) categoryName );
+       y2debug( "New pattern category \"%s\"", qPrintable(categoryName) );
 
        cat = new YQPkgPatternCategoryItem( this, categoryName );
        Q_CHECK_PTR( cat );