diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-03-13 13:11:15 -0500 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 15:53:50 +0200 |
commit | 9fbf68c99ab807aa13dfc984e6e7fc51b6358c12 (patch) | |
tree | 675d5596a18b0fa1c0c99ad3298a5524efdb5592 /kopete/protocols/sms/services/smsclient.cpp | |
parent | 64ea56d480d9f6dba28f7dab575ab2b590f8e62e (diff) | |
download | tdenetwork-9fbf68c99ab807aa13dfc984e6e7fc51b6358c12.tar.gz tdenetwork-9fbf68c99ab807aa13dfc984e6e7fc51b6358c12.zip |
Fix minor linking and string issues.
This resolves bug report 748.
(cherry picked from commit 7c85760c482a04669867cb7e1d671c29424895ac)
Diffstat (limited to 'kopete/protocols/sms/services/smsclient.cpp')
-rw-r--r-- | kopete/protocols/sms/services/smsclient.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/kopete/protocols/sms/services/smsclient.cpp b/kopete/protocols/sms/services/smsclient.cpp index 5d9882b3..9fb5a929 100644 --- a/kopete/protocols/sms/services/smsclient.cpp +++ b/kopete/protocols/sms/services/smsclient.cpp @@ -59,7 +59,7 @@ void SMSClient::send(const Kopete::Message& msg) m_msg = msg; KConfigGroup* c = m_account->configGroup(); - TQString provider = c->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProviderName"), TQString()); + TQString provider = c->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProviderName"); if (provider.isNull()) { @@ -67,7 +67,7 @@ void SMSClient::send(const Kopete::Message& msg) return; } - TQString programName = c->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProgramName"), TQString()); + TQString programName = c->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProgramName"); if (programName.isNull()) programName = "/usr/bin/sms_client"; @@ -97,15 +97,14 @@ TQWidget* SMSClient::configureWidget(TQWidget* parent) prefWidget->configDir->setMode(KFile::Directory); TQString configDir; if (m_account) - configDir = m_account->configGroup()->readEntry(TQString("%1:%2").arg("SMSClient").arg("ConfigDir"), TQString()); + configDir = m_account->configGroup()->readEntry(TQString("%1:%2").arg("SMSClient").arg("ConfigDir"); if (configDir.isNull()) configDir = "/etc/sms"; prefWidget->configDir->setURL(configDir); TQString programName; if (m_account) - programName = m_account->configGroup()->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProgramName"), - TQString()); + programName = m_account->configGroup()->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProgramName"); if (programName.isNull()) programName = "/usr/bin/sms_client"; prefWidget->program->setURL(programName); |