~novaburst-dev/yutaka

377f456bbe2493cf21e0bc212e9fc75d6743a152 — Aoi Koizumi 3 months ago cc9ad46 main
Did some cleanup and reflect the repository's name change. kimiko is already used by now.

Signed-off-by: Aoi Koizumi <novaburst@kalli.st>
3 files changed, 4 insertions(+), 4 deletions(-)

M README.md
M src/mainwindow.cpp
M src/singletonwebenginepage.cpp
M README.md => README.md +1 -1
@@ 1,4 1,4 @@
# io.kimiko.qtwebapp
# yutaka
This is a [ThreemaQT](https://gitlab.com/bit3/threemaqt) based project for use as a template for desktop web applications without the need for Electron / node.js

Licensed under the [MIT License](./COPYING) , just like the original project.

M src/mainwindow.cpp => src/mainwindow.cpp +2 -2
@@ 37,7 37,7 @@ MainWindow::MainWindow(QWidget *parent)

void MainWindow::readSettings()
{
    QSettings settings("io.kimiko", "");
    QSettings settings("io.yutaka", "");
    restoreGeometry(settings.value("main/geometry").toByteArray());
    restoreState(settings.value("main/windowState").toByteArray());
}


@@ 60,7 60,7 @@ void MainWindow::showAboutQt()

void MainWindow::closeEvent(QCloseEvent *event)
{
    QSettings settings("io.kimiko", "");
    QSettings settings("io.yutaka", "");
    settings.setValue("main/geometry", saveGeometry());
    settings.setValue("main/windowState", saveState());
    QMainWindow::closeEvent(event);

M src/singletonwebenginepage.cpp => src/singletonwebenginepage.cpp +1 -1
@@ 45,7 45,7 @@ void SingletonWebEnginePage::handleFeaturePermissionRequested(const QUrl &securi
void SingletonWebEnginePage::handleLoadFinished(bool ok)
{
    setFeaturePermission(
                QUrl("https://web.threema.ch/"),
                QUrl(""),
                QWebEnginePage::Feature::Notifications,
                QWebEnginePage::PermissionPolicy::PermissionGrantedByUser
    );