summaryrefslogtreecommitdiffstats
path: root/ksim/library/pluginglobal.cpp
diff options
context:
space:
mode:
authorFat-Zer <>2013-03-02 22:54:28 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2013-03-02 22:54:28 -0600
commit4ed913cf623968d71642c3d7fd556c2a712cfa69 (patch)
tree30deb7e07fb61d584615bd9082f70da91c1ea04a /ksim/library/pluginglobal.cpp
parenta7255b5637740fa13af67580ed48861d3b040a26 (diff)
downloadtdeutils-4ed913cf623968d71642c3d7fd556c2a712cfa69.tar.gz
tdeutils-4ed913cf623968d71642c3d7fd556c2a712cfa69.zip
Fix ksim crash. This resolves bug report 1322.
Diffstat (limited to 'ksim/library/pluginglobal.cpp')
-rw-r--r--ksim/library/pluginglobal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksim/library/pluginglobal.cpp b/ksim/library/pluginglobal.cpp
index 08ff3c9..4d176bf 100644
--- a/ksim/library/pluginglobal.cpp
+++ b/ksim/library/pluginglobal.cpp
@@ -155,7 +155,7 @@ bool KSim::Plugin::isNull() const
return !d;
}
-const TQString &KSim::Plugin::name() const
+TQString KSim::Plugin::name() const
{
return d ? d->name : TQString();
}
@@ -170,7 +170,7 @@ TQCString KSim::Plugin::libName() const
return d ? d->libName : TQCString();
}
-const TQString &KSim::Plugin::fileName() const
+TQString KSim::Plugin::fileName() const
{
return d ? d->filename : TQString();
}