Fix private API compatibility in TDEGlobalSettings.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f29aa92d38)
v3.5.13-sru
Slávek Banko 4 years ago
parent b3a875f92e
commit 119bb12503
Signed by: SlavekB
GPG Key ID: 608F5293A04BE668

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

@ -569,6 +569,12 @@ class KDECORE_EXPORT KGlobalSettings
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