From d9c7d3381d0a74788c0b4f7345140a56388676f5 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 25 May 2007 07:04:25 +0000 Subject: [PATCH] Porting to Qt 4 --- src/Qtx/Qtx.cxx | 1 - src/Qtx/QtxListAction.cxx | 6 +++--- src/Qtx/QtxLogoMgr.cxx | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Qtx/Qtx.cxx b/src/Qtx/Qtx.cxx index 05971b643..56ab7f332 100755 --- a/src/Qtx/Qtx.cxx +++ b/src/Qtx/Qtx.cxx @@ -708,7 +708,6 @@ QImage Qtx::transparentImage( const int w, const int h, const int d ) return img; } -/*! /*! \brief Create transparent pixmap. \param w required image width diff --git a/src/Qtx/QtxListAction.cxx b/src/Qtx/QtxListAction.cxx index c0c38ab05..57956449a 100755 --- a/src/Qtx/QtxListAction.cxx +++ b/src/Qtx/QtxListAction.cxx @@ -135,10 +135,10 @@ private: QtxListAction::ListFrame::ListFrame( QtxListAction* a, QWidget* parent ) : QMenu( parent ), myList( 0 ), - myLines( 5 ), - myChars( 5 ), myAction( a ), - myComment( 0 ) + myComment( 0 ), + myLines( 5 ), + myChars( 5 ) { QVBoxLayout* top = new QVBoxLayout( this ); top->setMargin( 0 ); diff --git a/src/Qtx/QtxLogoMgr.cxx b/src/Qtx/QtxLogoMgr.cxx index 9f1617d5f..b5bd38895 100644 --- a/src/Qtx/QtxLogoMgr.cxx +++ b/src/Qtx/QtxLogoMgr.cxx @@ -406,7 +406,7 @@ void QtxLogoMgr::generate() int QtxLogoMgr::find( const QString& id ) const { int idx = -1; - for ( uint i = 0; i < myLogos.count() && idx < 0; i++ ) + for ( int i = 0; i < myLogos.count() && idx < 0; i++ ) { if ( myLogos.at( i ).id == id ) idx = i; -- 2.39.2