diff options
Diffstat (limited to 'src/citra_qt/bootmanager.cpp')
| -rw-r--r-- | src/citra_qt/bootmanager.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp index 34a79b306..8c12cb228 100644 --- a/src/citra_qt/bootmanager.cpp +++ b/src/citra_qt/bootmanager.cpp | |||
| @@ -129,6 +129,9 @@ GRenderWindow::GRenderWindow(QWidget* parent) : QWidget(parent), emu_thread(this | |||
| 129 | setLayout(layout); | 129 | setLayout(layout); |
| 130 | connect(&emu_thread, SIGNAL(started()), this, SLOT(moveContext())); | 130 | connect(&emu_thread, SIGNAL(started()), this, SLOT(moveContext())); |
| 131 | 131 | ||
| 132 | setMinimumSize(GetActiveConfig().min_client_area_size.first, | ||
| 133 | GetActiveConfig().min_client_area_size.second); | ||
| 134 | |||
| 132 | OnFramebufferSizeChanged(); | 135 | OnFramebufferSizeChanged(); |
| 133 | NotifyClientAreaSizeChanged(std::pair<unsigned,unsigned>(child->width(), child->height())); | 136 | NotifyClientAreaSizeChanged(std::pair<unsigned,unsigned>(child->width(), child->height())); |
| 134 | 137 | ||
| @@ -275,3 +278,7 @@ void GRenderWindow::OnClientAreaResized(unsigned width, unsigned height) | |||
| 275 | { | 278 | { |
| 276 | NotifyClientAreaSizeChanged(std::make_pair(width, height)); | 279 | NotifyClientAreaSizeChanged(std::make_pair(width, height)); |
| 277 | } | 280 | } |
| 281 | |||
| 282 | void GRenderWindow::OnMinimalClientAreaChangeRequest(const std::pair<unsigned,unsigned>& minimal_size) { | ||
| 283 | setMinimumSize(minimal_size.first, minimal_size.second); | ||
| 284 | } | ||