X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=emul%2Femulwin.cpp;h=8182986430e739e42e03fde514b2b2b036f739c6;hb=6cc971430fda3760940c8f92bb484a6145bbad8d;hp=6c5734904648eef35b2c574406ab90382cfa7a03;hpb=04cdf83948ae2bf7d6404be4d5816707092619f3;p=bertos.git diff --git a/emul/emulwin.cpp b/emul/emulwin.cpp index 6c573490..81829864 100755 --- a/emul/emulwin.cpp +++ b/emul/emulwin.cpp @@ -15,6 +15,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 +61,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);