Fix SEGV on exit. This relates to bug 3118.

Signed-off-by: Roman Savochenko <roman@oscada.org>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1f184060d1)
r14.0.x
Roman Savochenko 2 years ago committed by Michele Calgaro
parent f8770b4fed
commit 0900cb34bb
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -54,7 +54,6 @@
extern "C" { KDESVN_EXPORT void *init_tdesvnpart() { return new tdesvnPartFactory; } } extern "C" { KDESVN_EXPORT void *init_tdesvnpart() { return new tdesvnPartFactory; } }
static const char version[] = VERSION; static const char version[] = VERSION;
TQString tdesvnPart::m_Extratext = "";
static const char description[] = static const char description[] =
I18N_NOOP("A Subversion Client for TDE (dynamic Part component)"); I18N_NOOP("A Subversion Client for TDE (dynamic Part component)");
@ -156,7 +155,7 @@ void tdesvnPart::slotDispPopup(const TQString&name,TQWidget**target)
TDEAboutData* tdesvnPart::createAboutData() TDEAboutData* tdesvnPart::createAboutData()
{ {
m_Extratext = TQString(I18N_NOOP("Built with Subversion library: %1\n")).arg(svn::Version::linked_version()); TQString m_Extratext = TQString(I18N_NOOP("Built with Subversion library: %1\n")).arg(svn::Version::linked_version());
m_Extratext+=TQString(I18N_NOOP("Running Subversion library: %1")).arg(svn::Version::running_version()); m_Extratext+=TQString(I18N_NOOP("Running Subversion library: %1")).arg(svn::Version::running_version());
TDEAboutData*about = new TDEAboutData("tdesvnpart", I18N_NOOP("tdesvn Part"), version, description, TDEAboutData*about = new TDEAboutData("tdesvnpart", I18N_NOOP("tdesvn Part"), version, description,

@ -97,7 +97,6 @@ protected slots:
private: private:
tdesvnView *m_view; tdesvnView *m_view;
KdesvnBrowserExtension*m_browserExt; KdesvnBrowserExtension*m_browserExt;
static TQString m_Extratext;
protected slots: protected slots:
void slotSettingsChanged(); void slotSettingsChanged();
protected slots: protected slots:

Loading…
Cancel
Save