summaryrefslogtreecommitdiff
path: root/src/apps/qcam/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/apps/qcam/main.cpp')
-rw-r--r--src/apps/qcam/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/apps/qcam/main.cpp b/src/apps/qcam/main.cpp
index 9846fba5..d0bde141 100644
--- a/src/apps/qcam/main.cpp
+++ b/src/apps/qcam/main.cpp
@@ -21,6 +21,8 @@
using namespace libcamera;
+namespace {
+
void signalHandler([[maybe_unused]] int signal)
{
qInfo() << "Exiting";
@@ -52,6 +54,8 @@ OptionsParser::Options parseOptions(int argc, char *argv[])
return options;
}
+} /* namespace */
+
int main(int argc, char **argv)
{
QApplication app(argc, argv);