clang-format: Set column width to 140

* Set column width to 140
* Use c++20
* Remove redundant virtual
This commit is contained in:
Magne Sjaastad
2023-02-26 10:48:40 +01:00
committed by GitHub
parent 8768e186d8
commit f8c5cf389f
1535 changed files with 10456 additions and 19398 deletions

View File

@@ -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
{