summaryrefslogtreecommitdiffstats
path: root/redhat/tdenetwork/kdenetwork-3.5.13.1-fix_smsclient_ftbfs.patch
blob: bf225a26e1c729e31320f4970841b2a6c548f493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
commit 6f17856dec29f6a84d5e38b6db12fdc632cd4394
Author: Timothy Pearson <[email protected]>
Date:   1339484900 -0500

    Fix build errors
    Thanks to Roman Savochenko for the patch!

diff --git a/kopete/protocols/jabber/kioslave/CMakeLists.txt b/kopete/protocols/jabber/kioslave/CMakeLists.txt
index 6c691ae..9539457 100644
--- a/kopete/protocols/jabber/kioslave/CMakeLists.txt
+++ b/kopete/protocols/jabber/kioslave/CMakeLists.txt
@@ -37,6 +37,6 @@ tde_add_kpart( kio_jabberdisco AUTOMOC
   LINK
     jabberclient-static idn
     iris_xmpp_core-static iris_xmpp_im-static iris_jabber-static iris-static
-    qca-static cutestuff_network-static cutestuff_util-static kio-shared idn
+    qca-static cutestuff_network-static cutestuff_util-static kio-shared
   DESTINATION ${PLUGIN_INSTALL_DIR}
 )
diff --git a/kopete/protocols/sms/services/smsclient.cpp b/kopete/protocols/sms/services/smsclient.cpp
index 9fb5a92..984e843 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 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 programName = c->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProgramName"));
 	if (programName.isNull())
 		programName = "/usr/bin/sms_client";
 
@@ -97,14 +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");
+		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");
+		programName = m_account->configGroup()->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProgramName"));
 	if (programName.isNull())
 		programName = "/usr/bin/sms_client";
 	prefWidget->program->setURL(programName);