Merge pull request #1165 from ispyisail/revive/691-dialog-geometry

Remember dialog sizes, and drop a light-grey box in dark themes
This commit is contained in:
ispyisail
2026-09-30 11:35:25 +13:00
committed by GitHub
45 changed files with 144 additions and 1 deletions
@@ -20,12 +20,14 @@
#include <QDate>
#include "ui_renamedialog.h"
#include "../../qet.h"
RenameDialog::RenameDialog(QString path, QWidget *parent) :
QDialog(parent),
ui(new Ui::RenameDialog),
m_path(std::move(path))
{
ui->setupUi(this);
QET::trackDialogGeometry(this);
m_name = m_path.split("/").last();
if (m_name.endsWith(".elmt")) m_name.remove(".elmt");
ui->m_label->setText(tr("L'élément « %1 » existe déjà. Que souhaitez-vous faire ?").arg(m_path));