Browse Source

Implement compiling from the file context menu.

git-svn-id: file:///var/svn/tigccpp/trunk@652 9552661e-59e3-4036-b4f2-dbe53926924f
kevinkofler 18 years ago
parent
commit
0127e0a6d9
1 changed files with 4 additions and 1 deletions
  1. 4 1
      ktigcc/mainform.ui.h

+ 4 - 1
ktigcc/mainform.ui.h

@@ -4082,7 +4082,10 @@ void MainForm::fileTreeContextMenuRequested(QListViewItem *item,
         fileSave_saveAs(item);
         break;
       case 2:
-        // compiling not implemented yet!
+        if (compiling) return;
+        startCompiling();
+        compileFile(theFile,TRUE,TRUE);
+        stopCompiling();
         break;
       case 3:
         if (!fileSavePrompt(item)) {