mirror of
https://github.com/arcan1s/pkgbuild.git
synced 2025-07-16 06:39:56 +00:00
added colibri-line
This commit is contained in:
12
colibri-line/fix-line.patch
Normal file
12
colibri-line/fix-line.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ruN colibri-0.3.0.orig/app/notificationwidget.cpp colibri-0.3.0/app/notificationwidget.cpp
|
||||
--- colibri-0.3.0.orig/app/notificationwidget.cpp 2013-05-14 19:30:28.000000000 +0400
|
||||
+++ colibri-0.3.0/app/notificationwidget.cpp 2014-01-24 02:35:26.653473727 +0400
|
||||
@@ -311,7 +311,7 @@
|
||||
text = "<b>" + mSummary + "</b>";
|
||||
}
|
||||
if (!mBody.isEmpty()) {
|
||||
- text += mBody;
|
||||
+ text += mBody.replace(QString("\n"), QString("<br>"));
|
||||
}
|
||||
mTextLabel->setText(text);
|
||||
mTextLabel->resize(mTextLabel->preferredSize());
|
Reference in New Issue
Block a user