Hide tab widget scroll when mouse is not over.

Add context menu for splitter tabs.
Git status count lines of added files and other fixes.
Other code clean up regarding Variant class.
This commit is contained in:
Martín Lucas Golini
2024-01-07 15:18:07 -03:00
parent eec3397592
commit 74e3dee369
24 changed files with 301 additions and 121 deletions

View File

@@ -367,8 +367,7 @@ void UniversalLocator::initLocateBar( UILocateBar* locateBar, UITextInput* locat
modelEvent->getModel()->index( modelEvent->getModelIndex().row(), 1 ),
ModelRole::Display ) );
if ( vPath.isValid() && !String::startsWith( mLocateInput->getText(), ". " ) ) {
std::string path( vPath.is( Variant::Type::cstr ) ? vPath.asCStr()
: vPath.asStdString() );
std::string path( vPath.toString() );
if ( path.empty() )
return;