From 246615f946a8063bcd68ba7c008e3cd0d3e6b615 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 1 Nov 2020 21:02:13 +0200 Subject: Add original size and fit buttons --- src/mainwindow.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index a270fd8..dfd704b 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -18,6 +18,8 @@ protected: void resizeEvent(QResizeEvent *event) override; private: + void resizePixmap(); + Ui::MainWindow *ui; QPixmap current; const QString title_format{"qimv [%1]"}; -- cgit v1.2.1