Remove unused KMimeMagic::mergeBufConfig method in preparation for converting to libmagic

This relates to Bug 656
pull/16/head
Timothy Pearson 11 years ago
parent 2d5d779de9
commit 6d268f3c55

@ -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 )
{

@ -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.
*

Loading…
Cancel
Save