Mercurial > minori
comparison src/gui/window.cc @ 309:bf89fbf7ff38
misc: remove copyrighted app icon
if someone comes up with a good icon, please be my guest
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Tue, 11 Jun 2024 04:24:59 -0400 |
parents | 9a88e1725fd2 |
children | 34347fd2a2de |
comparison
equal
deleted
inserted
replaced
308:da2c5a8ff306 | 309:bf89fbf7ff38 |
---|---|
75 } | 75 } |
76 | 76 |
77 MainWindow::MainWindow(QWidget* parent) | 77 MainWindow::MainWindow(QWidget* parent) |
78 : QMainWindow(parent) | 78 : QMainWindow(parent) |
79 , async_synchronize_thread_(nullptr, nullptr) { | 79 , async_synchronize_thread_(nullptr, nullptr) { |
80 setWindowIcon(QIcon(":/icons/favicon.png")); | |
81 | |
82 sidebar_.setFixedWidth(128); | 80 sidebar_.setFixedWidth(128); |
83 sidebar_.setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding); | 81 sidebar_.setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding); |
84 | 82 |
85 new QHBoxLayout(&main_widget_); | 83 new QHBoxLayout(&main_widget_); |
86 | 84 |