entity smartedit.color key entry.change icon to one also making sense in linux

This commit is contained in:
Garux 2024-01-14 07:44:32 +06:00
parent e02571ff6c
commit 38f0f660ec

View File

@ -209,7 +209,7 @@ public:
ColorAttribute( const char* key ) :
m_key( key ),
m_entry( new NonModalEntry( ApplyCaller( *this ), UpdateCaller( *this ) ) ){
auto button = m_entry->addAction( QApplication::style()->standardIcon( QStyle::SP_DialogOkButton ), QLineEdit::ActionPosition::TrailingPosition );
auto button = m_entry->addAction( QApplication::style()->standardIcon( QStyle::SP_ArrowRight ), QLineEdit::ActionPosition::TrailingPosition );
QObject::connect( button, &QAction::triggered, [this](){ browse(); } );
}
void release() override {