Some more coding style fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31374 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2009-09-12 16:20:37 +00:00
parent b40d2a3cf3
commit 57c16e9001

View File

@ -87,7 +87,7 @@ LyXServerMonitor::LyXServerMonitor()
connect(submitCommandPB, SIGNAL(clicked()), this, SLOT(submitCommand())); connect(submitCommandPB, SIGNAL(clicked()), this, SLOT(submitCommand()));
connect(donePB, SIGNAL(clicked()), this, SLOT(reject())); connect(donePB, SIGNAL(clicked()), this, SLOT(reject()));
QVBoxLayout *mainLayout = new QVBoxLayout; QVBoxLayout * mainLayout = new QVBoxLayout;
mainLayout->addWidget(gridGB); mainLayout->addWidget(gridGB);
mainLayout->addWidget(horizontalGB); mainLayout->addWidget(horizontalGB);
setLayout(mainLayout); setLayout(mainLayout);
@ -338,7 +338,7 @@ void LyXServerMonitor::closePipes()
buffer[BUFSIZE - 1] = '\0'; buffer[BUFSIZE - 1] = '\0';
::write(pipein, buffer, strlen(buffer)); ::write(pipein, buffer, strlen(buffer));
} }
/* Say goodbye */ // Say goodbye
snprintf(buffer, BUFSIZE - 1, "LYXSRV:%s:bye\n", snprintf(buffer, BUFSIZE - 1, "LYXSRV:%s:bye\n",
clientname.toUtf8().constData()); clientname.toUtf8().constData());
buffer[BUFSIZE - 1] = '\0'; 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); QApplication app(argc, argv);
LyXServerMonitor dialog; LyXServerMonitor dialog;