diff options
| author | Alexander Golubev <fatzer2@gmail.com> | 2025-08-17 19:34:57 +0300 |
|---|---|---|
| committer | Fat-Zer <fatzer2@gmail.com> | 2025-08-21 10:00:17 +0000 |
| commit | 0bf48d928d7a50f6d3c3285ca88014100b828315 (patch) | |
| tree | dc7e29c2ae4b3e1e49f65f2174df3dd35cc0d938 | |
| parent | b15319ca4f4d4cc232b72dd16390d5c3d8ac2620 (diff) | |
| download | tdenetwork-0bf48d928d7a50f6d3c3285ca88014100b828315.tar.gz tdenetwork-0bf48d928d7a50f6d3c3285ca88014100b828315.zip | |
kopete/sms: fix a crash caused by returning a reference to local object
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
| -rw-r--r-- | kopete/protocols/sms/services/smssendprovider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kopete/protocols/sms/services/smssendprovider.cpp b/kopete/protocols/sms/services/smssendprovider.cpp index c403dd42..38dddb5f 100644 --- a/kopete/protocols/sms/services/smssendprovider.cpp +++ b/kopete/protocols/sms/services/smssendprovider.cpp @@ -150,7 +150,7 @@ void SMSSendProvider::setAccount(Kopete::Account *account) const TQString& SMSSendProvider::name(int i) { if ( telPos == i || messagePos == i) - return TQString(); + return TQString::null; else return names[i]; } |
