From: Enrico Forestieri Date: Sat, 12 Sep 2009 16:20:37 +0000 (+0000) Subject: Some more coding style fixes X-Git-Tag: 2.0.0~5508 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=57c16e900141f89e78ab26c6b63b808e700c73bc;p=features.git Some more coding style fixes git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31374 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/lyxserver/server_monitor.cpp b/development/lyxserver/server_monitor.cpp index d22f703cf2..83d6303586 100644 --- a/development/lyxserver/server_monitor.cpp +++ b/development/lyxserver/server_monitor.cpp @@ -87,7 +87,7 @@ LyXServerMonitor::LyXServerMonitor() connect(submitCommandPB, SIGNAL(clicked()), this, SLOT(submitCommand())); connect(donePB, SIGNAL(clicked()), this, SLOT(reject())); - QVBoxLayout *mainLayout = new QVBoxLayout; + QVBoxLayout * mainLayout = new QVBoxLayout; mainLayout->addWidget(gridGB); mainLayout->addWidget(horizontalGB); setLayout(mainLayout); @@ -338,7 +338,7 @@ void LyXServerMonitor::closePipes() buffer[BUFSIZE - 1] = '\0'; ::write(pipein, buffer, strlen(buffer)); } - /* Say goodbye */ + // Say goodbye snprintf(buffer, BUFSIZE - 1, "LYXSRV:%s:bye\n", clientname.toUtf8().constData()); buffer[BUFSIZE - 1] = '\0'; @@ -377,7 +377,7 @@ void LyXServerMonitor::submitCommand() } -int main(int argc, char *argv[]) +int main(int argc, char * argv[]) { QApplication app(argc, argv); LyXServerMonitor dialog;