Skip to content

Commit

Permalink
Fix desktop entry association
Browse files Browse the repository at this point in the history
According to its documentation, the method expects the base name rather than the
full file name. Recent versions of Qt generate a warning because of this.
  • Loading branch information
J5lx committed Feb 25, 2024
1 parent 4eb1643 commit ab2063f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/pencil2d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Pencil2D::Pencil2D(int& argc, char** argv) :

#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
// Associate the application with our desktop entry
setDesktopFileName("org.pencil2d.Pencil2D.desktop");
setDesktopFileName("org.pencil2d.Pencil2D");
#endif
installTranslators();
}
Expand Down

0 comments on commit ab2063f

Please sign in to comment.