mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-24 00:24:38 +00:00
QuickShow: Add Delete action
Delete current file from file system.
This commit is contained in:
committed by
Andreas Kling
parent
f88ceb872a
commit
6c1af174a1
@@ -42,6 +42,15 @@ QSWidget::~QSWidget()
|
||||
{
|
||||
}
|
||||
|
||||
void QSWidget::clear()
|
||||
{
|
||||
m_bitmap = nullptr;
|
||||
m_path = {};
|
||||
|
||||
on_scale_change(100);
|
||||
update();
|
||||
}
|
||||
|
||||
void QSWidget::flip(Gfx::Orientation orientation)
|
||||
{
|
||||
m_bitmap = m_bitmap->flipped(orientation);
|
||||
|
||||
Reference in New Issue
Block a user