X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=emul%2Femulwin.cpp;h=b06144a9301ef4b0b9fda8b47020b272f2d7b9b8;hb=fff51d0f659a22f994cd8cb1d2a58a46ae981e2d;hp=6c5734904648eef35b2c574406ab90382cfa7a03;hpb=04cdf83948ae2bf7d6404be4d5816707092619f3;p=bertos.git diff --git a/emul/emulwin.cpp b/emul/emulwin.cpp old mode 100755 new mode 100644 index 6c573490..b06144a9 --- a/emul/emulwin.cpp +++ b/emul/emulwin.cpp @@ -1,9 +1,34 @@ /** * \file * * * \version $Id$ @@ -15,6 +40,9 @@ /*#* *#* $Log$ + *#* Revision 1.6 2006/09/19 17:49:04 bernie + *#* Reindent. + *#* *#* Revision 1.5 2006/05/28 12:17:56 bernie *#* Drop almost all the Qt3 cruft. *#* @@ -58,16 +86,15 @@ EmulWin::EmulWin(Emulator *e) setAttribute(Qt::WA_DeleteOnClose); // Create the menu bar - QMenu *file_menu = menuBar()->addMenu(tr("&File")); - file_menu->addAction(tr("&Quit"), - e->emulApp, SLOT(closeAllWindows()), CTRL+Key_Q); - - menuBar()->addSeparator(); + QMenu *file_menu = menuBar()->addMenu(tr("&File")); + file_menu->addAction(tr("&Quit"), + e->emulApp, SLOT(closeAllWindows()), CTRL+Key_Q); - QMenu *help_menu = menuBar()->addMenu(tr("&Help")); - help_menu->addAction(tr("&About"), - this, SLOT(about()), Key_F1); + menuBar()->addSeparator(); + QMenu *help_menu = menuBar()->addMenu(tr("&Help")); + help_menu->addAction(tr("&About"), + this, SLOT(about()), Key_F1); // Make a central widget to contain the other widgets QWidget *central = new QWidget(this);