X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmainwin.cpp;h=3c37a7bc4f5342cd005338dde6304820e5bcf478;hb=003638a66da61e2269e4ef398aa294c6ee02b171;hp=a4aec01054e143afd19db13a563d66f235bbac5f;hpb=195a185d42504cbface8c29911467ce8cff27229;p=warehouse-man-deluxe diff --git a/src/mainwin.cpp b/src/mainwin.cpp index a4aec01..3c37a7b 100644 --- a/src/mainwin.cpp +++ b/src/mainwin.cpp @@ -65,6 +65,11 @@ MainWin::MainWin() // connect(gameBoard, SIGNAL(UpdateScore(int)), this, SLOT(OnUpdateScore(int))); connect(gameWidget, SIGNAL(GameWasWon()), this, SLOT(WeHaveAWinner())); + // Connect editor to game widget... + connect(editorWindow, SIGNAL(SetupLevel(Level *)), gameWidget, + SLOT(HandlePlayGameFromEditor(Level *))); + + QMenu * menu = menuBar()->addMenu(tr("&Game")); menu->addAction(newGame); menu->addSeparator();