From 037da86af438437f362131ee78691fe3aa9ea491 Mon Sep 17 00:00:00 2001 From: Kubat <mael.martin31@gmail.com> Date: Mon, 23 Oct 2023 20:49:55 +0200 Subject: [PATCH] LEKTORD: Set the main window icon --- lektord/c/mainwindow.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lektord/c/mainwindow.cc b/lektord/c/mainwindow.cc index be9bb2fd..c4735598 100644 --- a/lektord/c/mainwindow.cc +++ b/lektord/c/mainwindow.cc @@ -1,8 +1,10 @@ #include "mainwindow.hh" +#include "icon.xpm" MainWindow::MainWindow(module_qt_window_s *qt_window, QWidget *parent) noexcept : QMainWindow(parent) { + setWindowIcon(QIcon(QPixmap(icon))); this->mpv = new MpvWidget(&(qt_window->launched), this); qt_window->mpv_widget = this->mpv; connect(this->mpv, &MpvWidget::titleChanged, this, &MainWindow::updateWindowTitle); -- GitLab