From ddf064dd5cb2f68dbe9ef263b53e1338611a64df Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Mon, 16 Mar 2015 13:49:56 +0000 Subject: [PATCH] about-distro: cleanup --- about-distro/src/CMakeLists.txt | 1 - about-distro/src/Module.cpp | 6 +----- about-distro/src/Module.h | 3 --- about-distro/src/Version.h.cmake | 27 --------------------------- 4 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 about-distro/src/Version.h.cmake diff --git a/about-distro/src/CMakeLists.txt b/about-distro/src/CMakeLists.txt index 9c98497a..5f11201f 100644 --- a/about-distro/src/CMakeLists.txt +++ b/about-distro/src/CMakeLists.txt @@ -1,4 +1,3 @@ -configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/Version.h) include_directories(${CMAKE_CURRENT_BINARY_DIR}) set(kcm_SRCS diff --git a/about-distro/src/Module.cpp b/about-distro/src/Module.cpp index bddba907..4bb08459 100644 --- a/about-distro/src/Module.cpp +++ b/about-distro/src/Module.cpp @@ -63,7 +63,7 @@ Module::Module(QWidget *parent, const QVariantList &args) : { KAboutData *about = new KAboutData("kcm-about-distro", 0, ki18n("About Distribution"), - global_s_versionStringFull, + "1.1.0", KLocalizedString(), KAboutData::License_GPL_V3, ki18n("Copyright 2012-2014 Harald Sitter"), @@ -179,7 +179,3 @@ void Module::defaults() { } -void Module::onStyle() -{ - KToolInvocation::invokeBrowser("http://www.youtube.com/watch?v=CX_4aGQWw_4"); -} diff --git a/about-distro/src/Module.h b/about-distro/src/Module.h index d6ac899c..bf552312 100644 --- a/about-distro/src/Module.h +++ b/about-distro/src/Module.h @@ -59,9 +59,6 @@ public: */ void defaults(); -protected slots: - void onStyle(); - private: /** * UI diff --git a/about-distro/src/Version.h.cmake b/about-distro/src/Version.h.cmake deleted file mode 100644 index e087604f..00000000 --- a/about-distro/src/Version.h.cmake +++ /dev/null @@ -1,27 +0,0 @@ -/* - Copyright (C) 2012 Harald Sitter - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License or (at your option) version 3 or any later version - accepted by the membership of KDE e.V. (or its successor approved - by the membership of KDE e.V.), which shall act as a proxy - defined in Section 14 of version 3 of the license. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ - -#ifndef VERSION_H -#define VERSION_H - -static const char global_s_versionString[] = "${VERSION_STRING}"; -static const char global_s_versionStringFull[] = "${VERSION_STRING_FULL}"; - -#endif // VERSION_H -- 2.11.0