summaryrefslogtreecommitdiff
path: root/community/vyqchat/build-fix.patch
blob: 7ad70ab2f7d504b2da42f6b0b83abd07963bea75 (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
diff -wbBur vyqchat-0.2.8/src/settings.h vyqchat-0.2.8.my/src/settings.h
--- vyqchat-0.2.8/src/settings.h	2005-07-18 22:54:08.000000000 +0400
+++ vyqchat-0.2.8.my/src/settings.h	2007-02-21 21:05:11.000000000 +0300
@@ -88,7 +88,7 @@
 
 		//
 		// Get methods
-		const UUID& Settings::getUUID()    const { return uuid; }
+		const UUID& getUUID()    const { return uuid; }
 		const QString& getIconThemeName()  const { return icontheme; }
 		const QString& getNick()           const { return nick; }
 		char getGender()                   const { return gender; }
diff -wbBur vyqchat-0.2.8/src/sound.h vyqchat-0.2.8.my/src/sound.h
--- vyqchat-0.2.8/src/sound.h	2005-07-18 22:54:08.000000000 +0400
+++ vyqchat-0.2.8.my/src/sound.h	2007-02-21 21:04:45.000000000 +0300
@@ -47,7 +47,7 @@
 		bool reload_samples(Settings &settings);
 		static bool init(Settings *settings);
 		static void close();
-		static const QString& Sound::error();
+		static const QString& error();
 		static void play(VyEvent evt);
 };
 
diff -wbBur vyqchat-0.2.8/src/user.h vyqchat-0.2.8.my/src/user.h
--- vyqchat-0.2.8/src/user.h	2005-07-18 23:03:01.000000000 +0400
+++ vyqchat-0.2.8.my/src/user.h	2007-02-21 21:04:14.000000000 +0300
@@ -38,7 +38,7 @@
 			}
 			return false;
 		}
-		bool User::setStatus(char s) { status=s; return true; }
+		bool setStatus(char s) { status=s; return true; }
 		void setNick(const QString &nick) { setText(nick); }
 		int incDeadCounter() { if (dcnt<1) dcnt++; return dcnt; }
 		int decDeadCounter() { return --dcnt; }