*/
Qtx::HeaderViewFlags SUIT_TreeModel::headerFlags( const QString& name ) const
{
- Qtx::HeaderViewFlags flags;
+ Qtx::HeaderViewFlags flags = Qtx::ShowNone;
for ( int i = 0, n = myColumns.size(); i < n; i++ ) {
if ( myColumns[i].myName == name ) {
flags = myColumns[i].myHeaderFlags;
}
bool SUIT_TreeModel::dropMimeData( const QMimeData* data, Qt::DropAction action,
- int row, int column, const QModelIndex& parent )
+ int row, int /*column*/, const QModelIndex& parent )
{
if ( action == Qt::IgnoreAction )
// do nothing with data