summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRoman Savochenko <[email protected]>2022-07-30 21:08:26 +0900
committerMichele Calgaro <[email protected]>2022-07-30 21:10:34 +0900
commit1f184060d12ce9613eec4fac51cc32629b873933 (patch)
tree7610a2b238efa8fd539a8320367feb2303561247 /src
parent32f2991d138f6c7b401bbc28d3d7ab643bdd0970 (diff)
downloadtdesvn-1f184060d12ce9613eec4fac51cc32629b873933.tar.gz
tdesvn-1f184060d12ce9613eec4fac51cc32629b873933.zip
Fix SEGV on exit. This relates to bug 3118.
Signed-off-by: Roman Savochenko <[email protected]> Signed-off-by: Michele Calgaro <[email protected]>
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: