ui: made icon buttons self updating on color scheme change
* fixed hatching not replaced in single file view title bar on color scheme change
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#ifndef QT_SEARCH_BAR_BUTTON_H
|
||||
#define QT_SEARCH_BAR_BUTTON_H
|
||||
|
||||
#include "qt/element/QtIconButton.h"
|
||||
|
||||
class QtSearchBarButton
|
||||
: public QtSelfRefreshIconButton
|
||||
{
|
||||
public:
|
||||
QtSearchBarButton(const FilePath& iconPath, bool small = false, QWidget* parent = nullptr);
|
||||
|
||||
protected:
|
||||
void refresh() override;
|
||||
|
||||
private:
|
||||
bool m_small;
|
||||
};
|
||||
|
||||
#endif // QT_SEARCH_BAR_BUTTON_H
|
||||
Reference in New Issue
Block a user