From a113f56ab82dc6512bfa673a6af7a1cf914e0b89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole-Andr=C3=A9=20Rodlie?= Date: Sat, 20 Apr 2024 20:21:06 +0200 Subject: [PATCH] Use same config/cache dir as Natron (INRIA) This will reset config and cache for existing users, sorry about that :) --- CMakeLists.txt | 4 ++-- src/app.cpp | 4 ++-- src/main.cpp | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 796f017..225788c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,8 +36,8 @@ option(USE_PKGCONF "Use pkg-config" ON) add_definitions(-DQT_DEPRECATED_WARNINGS) add_definitions(-DAPP_NAME="${PROJECT_NAME}") add_definitions(-DAPP_VERSION="${PROJECT_VERSION}") -add_definitions(-DAPP_ORG="Natron") -add_definitions(-DAPP_DOMAIN="natronvfx.org") +add_definitions(-DAPP_ORG="INRIA") +add_definitions(-DAPP_URL="https://github.com/rodlie/NatronPluginManager") add_compile_options(-Wall -Wextra) if(CMAKE_BUILD_TYPE MATCHES "^(release|Release|RELEASE)$") diff --git a/src/app.cpp b/src/app.cpp index b10177b..6dcb852 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -491,10 +491,10 @@ void NatronPluginManager::handleAboutActionTriggered() "Free Software Foundation; either version 2 of the License, " "or (at your option) any later version."); QString text = tr("

%1

" - "

A plug-in manager for Natron.

" + "

A plug-in manager for Natron.

" "

%2

" "

Copyright © Ole-AndrĂ© Rodlie. All rights reserved.

") - .arg(title, lic); + .arg(title, lic, QString(APP_URL)); QMessageBox::about(this, tr("About"), text); } diff --git a/src/main.cpp b/src/main.cpp index 7c98abc..e67877b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -30,7 +30,6 @@ int main(int argc, char *argv[]) QApplication::setApplicationVersion(APP_VERSION); QApplication::setApplicationDisplayName(QObject::tr("Natron Plug-in Manager")); QApplication::setOrganizationName(APP_ORG); - QApplication::setOrganizationDomain(APP_DOMAIN); NatronPluginManager app; app.show();