Added Window::flash().
FileSystemModel will not spam invalidations when not needed.
UIAbstractTableView and UIAbstractView won't queue more than 1 invalidation per frame when invalidations comes from a non-main thread.
ecode:
UniversalLocator now understands pasted file paths (with and withouth cursor position) and allows to go to that file and position.
This commit is contained in:
Martín Lucas Golini
2023-06-23 20:28:22 -03:00
parent 5ab1fa72d3
commit 5d54f01352
13 changed files with 263 additions and 196 deletions

View File

@@ -257,6 +257,9 @@ void StatusBuildOutputController::runBuild( const std::string& buildName,
if ( cleanButton )
cleanButton->setEnabled( true );
}
if ( !mApp->getWindow()->hasFocus() )
mApp->getWindow()->flash( WindowFlashOperation::Briefly );
} );
if ( !res.isValid() ) {
@@ -344,6 +347,9 @@ void StatusBuildOutputController::runClean( const std::string& buildName,
if ( buildButton )
buildButton->setEnabled( true );
}
if ( !mApp->getWindow()->hasFocus() )
mApp->getWindow()->flash( WindowFlashOperation::Briefly );
} );
if ( !res.isValid() ) {