summaryrefslogtreecommitdiffstats
path: root/pica-client/chatwindow.h
diff options
context:
space:
mode:
authorme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2014-08-17 17:31:32 +0000
committerme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2014-08-17 17:31:32 +0000
commit402a7a84c1b0def7e776dc97243c40da1bb38a2c (patch)
tree348065b73cd34853672b3a2d78595bac78ad01d3 /pica-client/chatwindow.h
parent20942d8ec1c26b5755e98e245686219003888ed4 (diff)
downloadpica-pica-402a7a84c1b0def7e776dc97243c40da1bb38a2c.tar.gz
pica-pica-402a7a84c1b0def7e776dc97243c40da1bb38a2c.zip
Disallow sending empty message
git-svn-id: svn://localhost/project_picapica/trunk@325 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'pica-client/chatwindow.h')
-rw-r--r--pica-client/chatwindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pica-client/chatwindow.h b/pica-client/chatwindow.h
index 73a053e..a099130 100644
--- a/pica-client/chatwindow.h
+++ b/pica-client/chatwindow.h
@@ -60,6 +60,7 @@ private:
QPushButton *btAddCtBlacklist;
QLabel *lbAddCtQuestion;
+ bool isEmptyMessage(const QString &msg) const;
void put_message(QString msg, QByteArray id, bool is_me);
int draw_message(QString msg, QString nickname, QString datetime, QString color, bool is_delivered);
void print_history(QList<History::HistoryRecord> H);