-// Copyright (C) 2007-2019 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
*/
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