diff --git a/rtgui/main.cc b/rtgui/main.cc index 24b453c7f..efc333a3c 100644 --- a/rtgui/main.cc +++ b/rtgui/main.cc @@ -27,6 +27,7 @@ #include #include #include +#include #include "rtwindow.h" #include #include @@ -148,6 +149,9 @@ int main(int argc, char **argv) return ret; } + if( !options.rtSettings.verbose ) + TIFFSetWarningHandler(NULL); // avoid annoying message boxes + #ifndef WIN32 // Move the old path to the new one if the new does not exist if (safe_file_test(Glib::build_filename(options.rtdir,"cache"), Glib::FILE_TEST_IS_DIR) && !safe_file_test(options.cacheBaseDir, Glib::FILE_TEST_IS_DIR))