summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-28 07:27:30 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-28 07:27:30 -0700
commitf2e2be0f67146941d9a05815db2d1335a975765e (patch)
tree31813fc61ad44048baf72cd71e016b521bd6afbe /qt-ui/mainwindow.cpp
parent7d0c6f895d813b366a3c9ff5b26ed3db1b2fba02 (diff)
parent01645d64b91b29878d6927dcf7cd5c2381e0bfaa (diff)
downloadsubsurface-f2e2be0f67146941d9a05815db2d1335a975765e.tar.gz
Merge branch 'custom-print' of github.com:neolit123/subsurface
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index ed7c62c62..b6459d3c2 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -199,6 +199,9 @@ MainWindow::MainWindow() : QMainWindow(),
ReverseGeoLookupThread *geoLookup = ReverseGeoLookupThread::instance();
connect(geoLookup, SIGNAL(started()),information(), SLOT(disableGeoLookupEdition()));
connect(geoLookup, SIGNAL(finished()), information(), SLOT(enableGeoLookupEdition()));
+#ifndef NO_PRINTING
+ find_all_templates();
+#endif
}
MainWindow::~MainWindow()