summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRoman Savochenko <roman@oscada.org>2022-07-30 21:08:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-07-30 21:11:23 +0900
commit0900cb34bb356599f25bf2a641d3a8c9ffec4478 (patch)
tree5585b1c622e52153dd80e2931e41f4083c1bb770 /src
parentf8770b4fed1cb03c7a57dd77c75ae97e45b7fec2 (diff)
downloadtdesvn-0900cb34.tar.gz
tdesvn-0900cb34.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> (cherry picked from commit 1f184060d12ce9613eec4fac51cc32629b873933)
Diffstat (limited to 'src')
-rw-r--r--src/tdesvn_part.cpp3
-rw-r--r--src/tdesvn_part.h1
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: