summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/main.cpp2
-rw-r--r--facetracknoir/process_detector.cpp2
-rw-r--r--facetracknoir/process_detector.h2
3 files changed, 4 insertions, 2 deletions
diff --git a/facetracknoir/main.cpp b/facetracknoir/main.cpp
index fea76b30..c92f6980 100644
--- a/facetracknoir/main.cpp
+++ b/facetracknoir/main.cpp
@@ -30,8 +30,8 @@ static void add_program_library_path()
}
}
}
-#endif
}
+#endif
int main(int argc, char** argv)
{
diff --git a/facetracknoir/process_detector.cpp b/facetracknoir/process_detector.cpp
index 902ab2ec..237d350d 100644
--- a/facetracknoir/process_detector.cpp
+++ b/facetracknoir/process_detector.cpp
@@ -61,7 +61,7 @@ void BrowseButton::browse()
twi->setText(filename);
}
-process_detector::add_row(QString exe_name, QString profile)
+int process_detector::add_row(QString exe_name, QString profile)
{
int i = ui.tableWidget->rowCount();
ui.tableWidget->insertRow(i);
diff --git a/facetracknoir/process_detector.h b/facetracknoir/process_detector.h
index 2333ecc6..3cebd422 100644
--- a/facetracknoir/process_detector.h
+++ b/facetracknoir/process_detector.h
@@ -88,6 +88,8 @@ public:
{
return false;
}
+ bool should_stop() { return false; }
+
};
#endif