diff options
author | Alexander Lohnau <alexander.lohnau@gmx.de> | 2021-10-20 11:12:49 +0200 |
---|---|---|
committer | Alexander Lohnau <alexander.lohnau@gmx.de> | 2021-10-20 11:12:49 +0200 |
commit | 605383b1a299ea69444b10a5cf2eb9cb61009f86 (patch) | |
tree | 8d1fea53658fd35277fccc0fea58ce93b864d59a /src/core | |
parent | 5bc393b0615020d8e04ebed13364d3ab7a21d856 (diff) | |
download | kconfig-605383b1a299ea69444b10a5cf2eb9cb61009f86.tar.gz kconfig-605383b1a299ea69444b10a5cf2eb9cb61009f86.tar.bz2 |
GIT_SILENT Remove a bit of dead code
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/kdesktopfile.cpp | 14 | ||||
-rw-r--r-- | src/core/kdesktopfile.h | 5 |
2 files changed, 0 insertions, 19 deletions
diff --git a/src/core/kdesktopfile.cpp b/src/core/kdesktopfile.cpp index 408da286..d26ed59d 100644 --- a/src/core/kdesktopfile.cpp +++ b/src/core/kdesktopfile.cpp @@ -310,17 +310,6 @@ bool KDesktopFile::tryExec() const return true; } -/** - * @return the filename as passed to the constructor. - */ -// QString KDesktopFile::fileName() const { return backEnd->fileName(); } - -/** - * @return the resource type as passed to the constructor. - */ -// QString -// KDesktopFile::resource() const { return backEnd->resource(); } - #if KCONFIGCORE_BUILD_DEPRECATED_SINCE(5, 42) QStringList KDesktopFile::sortOrder() const { @@ -329,9 +318,6 @@ QStringList KDesktopFile::sortOrder() const } #endif -// void KDesktopFile::virtual_hook( int id, void* data ) -//{ KConfig::virtual_hook( id, data ); } - QString KDesktopFile::readDocPath() const { Q_D(const KDesktopFile); diff --git a/src/core/kdesktopfile.h b/src/core/kdesktopfile.h index 25420083..da0f39b4 100644 --- a/src/core/kdesktopfile.h +++ b/src/core/kdesktopfile.h @@ -242,11 +242,6 @@ public: QStandardPaths::StandardLocation resource() const; -protected: - /** Virtual hook, used to add new "virtual" functions while maintaining - binary compatibility. Unused in this class. - */ - // virtual void virtual_hook( int id, void* data ); private: Q_DISABLE_COPY(KDesktopFile) |