From dfa24768a3243eda68d91f573050bf23f96da2dd Mon Sep 17 00:00:00 2001 From: David Faure Date: Sat, 22 Oct 2011 11:33:06 +0200 Subject: Deprecate QDesktopServices::storageLocation/displayName Which required porting the related unittests to qstandardpaths Change-Id: I6eb63c46845f05cd29cc42b59872707526277c90 Reviewed-by: Thiago Macieira (Intel) --- examples/qtconcurrent/imagescaling/imagescaling.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/qtconcurrent/imagescaling/imagescaling.cpp b/examples/qtconcurrent/imagescaling/imagescaling.cpp index 6ed7ae7511..fe2e3f4dad 100644 --- a/examples/qtconcurrent/imagescaling/imagescaling.cpp +++ b/examples/qtconcurrent/imagescaling/imagescaling.cpp @@ -100,9 +100,9 @@ void Images::open() imageScaling->waitForFinished(); } - // Show a file open dialog at QDesktopServices::PicturesLocation. + // Show a file open dialog at QStandardPaths::PicturesLocation. QStringList files = QFileDialog::getOpenFileNames(this, tr("Select Images"), - QDesktopServices::storageLocation(QDesktopServices::PicturesLocation), + QStandardPaths::writableLocation(QStandardPaths::PicturesLocation), "*.jpg *.png"); if (files.count() == 0) -- cgit v1.2.3