Fix private API compatibility in TDEGlobalSettings.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f29aa92d38)
r14.0.x
Slávek Banko 5 years ago
parent d46ec74e77
commit 9c1e136983
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