Author: coolo
Date: Sun Dec 9 18:05:20 2007
New Revision: 42867
URL: http://svn.opensuse.org/viewcvs/yast?rev=42867&view=rev
Log:
fix porting error
Modified:
trunk/qt4/src/QY2ListView.cc
trunk/qt4/src/YQMultiSelectionBox.cc
Modified: trunk/qt4/src/QY2ListView.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt4/src/QY2ListView.cc?rev=42867&r1=42866&r2=42867&view=diff
==============================================================================
--- trunk/qt4/src/QY2ListView.cc (original)
+++ trunk/qt4/src/QY2ListView.cc Sun Dec 9 18:05:20 2007
@@ -75,7 +75,7 @@
item->setSelected(true); // emits signal, too
return;
}
-
+
++it;
}
}
@@ -100,7 +100,7 @@
if ( item )
item->updateStatus();
-
+
++it;
}
}
@@ -117,7 +117,7 @@
if ( item )
item->updateData();
-
+
++it;
}
}
@@ -215,7 +215,7 @@
{
// FIXME
// int col = header()->sectionAt( ev->pos().x() );
-//
+//
// if ( item == _mousePressedItem &&
// col == _mousePressedCol &&
// ev->button() == _mousePressedButton )
@@ -246,13 +246,13 @@
int col = header()->logicalIndexAt( ev->pos().x() );
emit( columnDoubleClicked( ev->button(), (QY2ListViewItem *) item, col, ev->globalPos() ) );
}
-
+
// invalidate last click data
-
+
_mousePressedItem = 0;
_mousePressedCol = -1;
_mousePressedButton = Qt::NoButton;
-
+
// // Call base class method
// QTreeWidget::contentsMouseDoubleClickEvent( ev );
}
@@ -377,7 +377,7 @@
if ( parentListView )
sortByInsertionSequence = parentListView->sortByInsertionSequence();
-
+
if ( sortByInsertionSequence )
{
QY2ListViewItem * other = dynamic_cast