Fix private API compatibility in TDEGlobalSettings.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/70/head
Slávek Banko 4 years ago
parent de79e754fa
commit f29aa92d38
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -590,6 +590,13 @@ TQFont TDEGlobalSettings::largeFont(const TQString &text)
return *_largeFont;
}
void TDEGlobalSettings::initStatic()
{
// The method is primarily to ensure backward compatibility of the API.
// Don't put anything else here.
initPaths();
}
void TDEGlobalSettings::initPaths()
{
if (s_desktopPath)

@ -569,6 +569,12 @@ class TDECORE_EXPORT TDEGlobalSettings
static int buttonLayout();
private:
/**
* global initialization - should only include paths initialization
*
* The method is primarily to ensure backward compatibility of the API.
*/
static void initStatic();
/**
* reads in all paths from kdeglobals
*/

Loading…
Cancel
Save