diff widgets/ImageDialog.cpp @ 529:3228b7913aa4

* Pull out the widgetry part of FileFinder into widgets/InteractiveFileFinder (essentially this is just to avoid a dependency from data/fileio to widgets/ which is problematic for non-gui programs)
author Chris Cannam
date Fri, 27 Mar 2009 16:25:52 +0000
parents 22b72f0f6a4e
children 1fe7951a61e8
line wrap: on
line diff
--- a/widgets/ImageDialog.cpp	Fri Mar 27 13:10:01 2009 +0000
+++ b/widgets/ImageDialog.cpp	Fri Mar 27 16:25:52 2009 +0000
@@ -29,7 +29,7 @@
 #include "ProgressDialog.h"
 
 #include "data/fileio/FileSource.h"
-#include "FileFinder.h"
+#include "InteractiveFileFinder.h"
 
 #include <iostream>
 
@@ -228,7 +228,7 @@
 ImageDialog::browseClicked()
 {
     QString file =
-        FileFinder::getInstance()->getOpenFileName(FileFinder::ImageFile);
+        InteractiveFileFinder::getInstance()->getOpenFileName(FileFinder::ImageFile);
 
     if (file != "") {
         setImage(file);