环境:
ubuntu9.04
qt 4.5.0
eclipse + qt插件1.6
请问如何屏蔽掉 参数未使用 的错误提示?
比如 QTreeView 有个signal : expanded ( const QModelIndex& )
对应的slot 也得有个const QModelIndex& 参数 (如slot: TreeViewExpanded ( const QModelIndex& ) )
在TreeViewExpanded ( const QModelIndex& index )方法中并没用到index这个参数
但编译的时候提示 “参数未使用 index”错误