diff options
author | Roman Savochenko <roman@oscada.org> | 2022-07-30 21:08:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-07-30 21:10:34 +0900 |
commit | 1f184060d12ce9613eec4fac51cc32629b873933 (patch) | |
tree | 7610a2b238efa8fd539a8320367feb2303561247 | |
parent | 32f2991d138f6c7b401bbc28d3d7ab643bdd0970 (diff) | |
download | tdesvn-1f184060d12ce9613eec4fac51cc32629b873933.tar.gz tdesvn-1f184060d12ce9613eec4fac51cc32629b873933.zip |
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>
-rw-r--r-- | src/tdesvn_part.cpp | 3 | ||||
-rw-r--r-- | src/tdesvn_part.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/tdesvn_part.cpp b/src/tdesvn_part.cpp index 1a9ed04..d081199 100644 --- a/src/tdesvn_part.cpp +++ b/src/tdesvn_part.cpp @@ -54,7 +54,6 @@ extern "C" { KDESVN_EXPORT void *init_tdesvnpart() { return new tdesvnPartFactory; } } static const char version[] = VERSION; -TQString tdesvnPart::m_Extratext = ""; static const char description[] = 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() { - 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()); TDEAboutData*about = new TDEAboutData("tdesvnpart", I18N_NOOP("tdesvn Part"), version, description, diff --git a/src/tdesvn_part.h b/src/tdesvn_part.h index 2076d51..a61df86 100644 --- a/src/tdesvn_part.h +++ b/src/tdesvn_part.h @@ -97,7 +97,6 @@ protected slots: private: tdesvnView *m_view; KdesvnBrowserExtension*m_browserExt; - static TQString m_Extratext; protected slots: void slotSettingsChanged(); protected slots: |