X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/863ee3a87cee8b1f22a311d6a6a62e56714b5eae..4320310b9bf7955cda582bc3fdfd4c38f201e76d:/src/main.cpp diff --git a/src/main.cpp b/src/main.cpp index 2d1ccd0c8..207a12116 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -79,7 +79,9 @@ int main(int argc, char **argv) QApplication app(argc, argv); app.setWindowIcon(QIcon::fromTheme(QStringLiteral("system-file-manager"), app.windowIcon())); - KIO::PreviewJob::setDefaultDevicePixelRatio(app.devicePixelRatio()); +#if defined(Q_OS_WIN) || defined(Q_OS_MACOS) + QApplication::setStyle(QStringLiteral("breeze")); +#endif KCrash::initialize(); @@ -98,7 +100,7 @@ int main(int argc, char **argv) i18nc("@title", "File Manager"), KAboutLicense::GPL, i18nc("@info:credit", "(C) 2006-2022 The Dolphin Developers")); - aboutData.setHomepage(QStringLiteral("https://kde.org/applications/system/org.kde.dolphin")); + aboutData.setHomepage(QStringLiteral("https://apps.kde.org/dolphin")); aboutData.addAuthor(i18nc("@info:credit", "Felix Ernst"), i18nc("@info:credit", "Maintainer (since 2021) and developer"), QStringLiteral("felixernst@kde.org")); @@ -247,6 +249,8 @@ int main(int argc, char **argv) } } + mainWindow->setSessionAutoSaveEnabled(GeneralSettings::rememberOpenedTabs()); + #if HAVE_KUSERFEEDBACK auto feedbackProvider = DolphinFeedbackProvider::instance(); Q_UNUSED(feedbackProvider)