mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#10649 ApplicationLibCode: Use collection.empty() instead of comparing with size
This commit is contained in:
@@ -113,7 +113,7 @@ bool RiuTreeViewEventFilter::eventFilter( QObject* obj, QEvent* event )
|
||||
std::vector<caf::PdmUiItem*> uiItems;
|
||||
caf::SelectionManager::instance()->selectedItems( uiItems );
|
||||
|
||||
if ( uiItems.size() > 0 )
|
||||
if ( !uiItems.empty() )
|
||||
{
|
||||
std::vector<caf::CmdFeature*> matches;
|
||||
if ( keyEvent->matches( QKeySequence::Copy ) )
|
||||
|
||||
Reference in New Issue
Block a user