diff --git a/kio/kio/kmimemagic.cpp b/kio/kio/kmimemagic.cpp index 24f81be6b..bbc3b70b1 100644 --- a/kio/kio/kmimemagic.cpp +++ b/kio/kio/kmimemagic.cpp @@ -2175,23 +2175,6 @@ KMimeMagic::mergeConfig(const TQString & _configfile) return true; } -bool -KMimeMagic::mergeBufConfig(char * _configbuf) -{ - int result; - - if (conf) { - result = buff_apprentice(_configbuf); - if (result == -1) - return false; -#ifdef MIME_MAGIC_DEBUG_TABLE - test_table(); -#endif - return true; - } - return false; -} - void KMimeMagic::setFollowLinks( bool _enable ) { diff --git a/kio/kio/kmimemagic.h b/kio/kio/kmimemagic.h index d73dd306a..b4b824b3f 100644 --- a/kio/kio/kmimemagic.h +++ b/kio/kio/kmimemagic.h @@ -126,14 +126,6 @@ public: */ bool mergeConfig( const TQString & configFile ); - /** - * Merge an existing parse table with the data from the - * given buffer. - * - * @return @p true on success. - */ - bool mergeBufConfig(char *); - /** * Enable/Disable follow-links. *