entity smartedit.color key entry.change icon to one also making sense in linux
This commit is contained in:
parent
e02571ff6c
commit
38f0f660ec
|
|
@ -209,7 +209,7 @@ public:
|
||||||
ColorAttribute( const char* key ) :
|
ColorAttribute( const char* key ) :
|
||||||
m_key( key ),
|
m_key( key ),
|
||||||
m_entry( new NonModalEntry( ApplyCaller( *this ), UpdateCaller( *this ) ) ){
|
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(); } );
|
QObject::connect( button, &QAction::triggered, [this](){ browse(); } );
|
||||||
}
|
}
|
||||||
void release() override {
|
void release() override {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user