From a0031d3806c941fce2eedb56226666ca69ad5a90 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sun, 26 Feb 2017 19:15:21 +0100 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ fileitemactionplugin/syncthingfileitemaction.cpp | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f2d736e..b20051b 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,14 @@ The application depends on [c++utilities](https://github.com/Martchus/cpp-utilit The following Qt 5 modules are requried: core network gui widgets svg webenginewidgets/webkitwidgets +The built-in web view is optional (see section "Select Qt module for WebView"). + +To build the plugin for Dolphin integration KIO is also requried. To skip building +the plugin, add `-DNO_FILE_ITEM_ACTION_PLUGIN=ON` to the CMake arguments. + +It is also possible to build only the CLI (syncthingctl) by adding `-DNO_MODEL=ON` +to the CMake arguments. Then only core and network are required. + #### Building this straight 0. Install (preferably the latest version of) g++ or clang, the required Qt 5 modules and CMake. 1. Get the sources. For the lastest version from Git clone the following repositories: diff --git a/fileitemactionplugin/syncthingfileitemaction.cpp b/fileitemactionplugin/syncthingfileitemaction.cpp index b695485..348772b 100644 --- a/fileitemactionplugin/syncthingfileitemaction.cpp +++ b/fileitemactionplugin/syncthingfileitemaction.cpp @@ -335,7 +335,7 @@ void SyncthingFileItemAction::rescanDir(const QString &dirId, const QString &rel void SyncthingFileItemAction::showAboutDialog() { - auto *aboutDialog = new AboutDialog(nullptr, QStringLiteral(APP_NAME), QStringLiteral(APP_AUTHOR), QStringLiteral(APP_VERSION), QStringLiteral(APP_URL), QStringLiteral(APP_DESCRIPTION), QImage(statusIcons().scanninig.pixmap(128).toImage())); + auto *aboutDialog = new AboutDialog(nullptr, QStringLiteral(APP_NAME), QStringLiteral(APP_AUTHOR "\nSyncthing icons from Syncthing project"), QStringLiteral(APP_VERSION), QStringLiteral(APP_URL), QStringLiteral(APP_DESCRIPTION), QImage(statusIcons().scanninig.pixmap(128).toImage())); aboutDialog->setWindowTitle(tr("About") + QStringLiteral(" - " APP_NAME)); aboutDialog->setWindowIcon(QIcon::fromTheme(QStringLiteral("syncthingtray"))); aboutDialog->setWindowFlags(static_cast(aboutDialog->windowFlags() | Qt::WA_DeleteOnClose));