]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/panels/information/pixmapviewer.h
Detect animated format using mimeType instead of file path
[dolphin.git] / src / panels / information / pixmapviewer.h
index 37071045fb167359e734357cb82f1f9f384190eb..c231b590dbe81c579e0e9ef56f8197e87df5dca6 100644 (file)
@@ -80,9 +80,9 @@ public:
     void stopAnimatedImage();
 
     /**
-     * Checks if \a fileName contains an animated image supported by QMovie.
+     * Checks if \a mimeType has a format supported by QMovie.
      */
-    static bool isAnimatedImage(const QString &fileName);
+    static bool isAnimatedMimeType(const QString &mimeType);
 
 protected:
     void paintEvent(QPaintEvent* event) override;