mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
clang-format: Set column width to 140
* Set column width to 140 * Use c++20 * Remove redundant virtual
This commit is contained in:
@@ -118,13 +118,11 @@ bool RiuTreeViewEventFilter::eventFilter( QObject* obj, QEvent* event )
|
||||
std::vector<caf::CmdFeature*> matches;
|
||||
if ( keyEvent->matches( QKeySequence::Copy ) )
|
||||
{
|
||||
matches.push_back(
|
||||
caf::CmdFeatureManager::instance()->getCommandFeature( "RicCopyReferencesToClipboardFeature" ) );
|
||||
matches.push_back( caf::CmdFeatureManager::instance()->getCommandFeature( "RicCopyReferencesToClipboardFeature" ) );
|
||||
}
|
||||
else if ( keyEvent->matches( QKeySequence::Cut ) )
|
||||
{
|
||||
matches.push_back(
|
||||
caf::CmdFeatureManager::instance()->getCommandFeature( "RicCutReferencesToClipboardFeature" ) );
|
||||
matches.push_back( caf::CmdFeatureManager::instance()->getCommandFeature( "RicCutReferencesToClipboardFeature" ) );
|
||||
}
|
||||
else if ( keyEvent->matches( QKeySequence::Paste ) )
|
||||
{
|
||||
@@ -135,8 +133,7 @@ bool RiuTreeViewEventFilter::eventFilter( QObject* obj, QEvent* event )
|
||||
}
|
||||
else if ( keyEvent->matches( QKeySequence::Delete ) )
|
||||
{
|
||||
matches =
|
||||
caf::CmdFeatureManager::instance()->commandFeaturesMatchingKeyboardShortcut( QKeySequence::Delete );
|
||||
matches = caf::CmdFeatureManager::instance()->commandFeaturesMatchingKeyboardShortcut( QKeySequence::Delete );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user