summaryrefslogtreecommitdiff
path: root/src/miav.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/miav.cc')
-rw-r--r--src/miav.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/miav.cc b/src/miav.cc
index c441dca..eedeb7e 100644
--- a/src/miav.cc
+++ b/src/miav.cc
@@ -30,9 +30,11 @@
#ifdef USE_GUI
#include <qapplication.h>
#include "mainwindow.h"
-#include <miav.h>
+#include "miav.h"
#endif /* USE_GUI */
+#include "miav_config.h"
+
#include <stdio.h>
enum {
@@ -103,6 +105,9 @@ int server(int argc, char *argv[]) {
int main(int argc, char *argv[])
{
+ Error conferr;
+ config = new MiavConfig(ETC"/miav.conf", &conferr);
+
int mode = MODE_GRAB;
if(argc < 2) {