From 443d9adaa66b113a5f8d2c17949e95aacfd49876 Mon Sep 17 00:00:00 2001 From: chenyong Date: Wed, 23 Nov 2016 13:57:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=8F=90=E7=A4=BA=E8=AF=AD?= =?UTF-8?q?=E9=99=90=E5=88=B6=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 2074201..8bf5ad1 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -348,8 +348,8 @@ void MainWindow::notifyUnshown(UnshownMessage& umsg) long MainWindow::showNotification(const Fellow *fellow, const QString &text) { QString content(text); - if (content.length()>20) - content = content.left(20)+"..."; + if (content.length()>100) + content = content.left(100)+"..."; return PlatformDepend::instance().showNotify(QString(fellow->getName().c_str())+":", content, fellow->getIp().c_str()); }