Skip to content

Commit

Permalink
Fixed crash on deactivating color checkbox of additional text
Browse files Browse the repository at this point in the history
  • Loading branch information
Ri0n committed Jan 19, 2012
1 parent 17d3052 commit 381e2ee
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions patches/0030-psi-webkit.diff
Expand Up @@ -2287,6 +2287,18 @@ index 0000000..26b2465
+};
+
+#endif // CHATVIEWTHEMEPROVIDER_H
diff --git a/src/coloropt.cpp b/src/coloropt.cpp
index 28d06aa..6c0b75f 100644
--- a/src/coloropt.cpp
+++ b/src/coloropt.cpp
@@ -46,6 +46,7 @@ ColorOpt::ColorOpt()
{"messages.received", QPalette::Text},
{"messages.sent", QPalette::Text},
{"messages.informational", QPalette::Text},
+ {"messages.usertext", QPalette::Text},
{"passive-popup.border", QPalette::Window}
};
for (unsigned int i = 0; i < sizeof(source) / sizeof(SourceType); i++) {
diff --git a/src/eventdlg.cpp b/src/eventdlg.cpp
index 7b58991..ae7cde5 100644
--- a/src/eventdlg.cpp
Expand Down

1 comment on commit 381e2ee

@liuch
Copy link
Member

@liuch liuch commented on 381e2ee Jan 19, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

В этом массиве кажется одна строчка лишняя. Не считал? Хотя может и нужна где то

Please sign in to comment.