Declare QWaylandDisplay::findExistingCursorTheme noexcept

Fixes error: exception specification in declaration does not match
  previous declaration

Amends c962b8c2df8e8a2cbbb7fc4eceebc37bcf3506b9

Change-Id: I7e27ffd5bb3aa4c71680809268d86ba25242833a
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
This commit is contained in:
Shawn Rutledge 2020-06-08 10:08:22 +02:00
parent 8deb43d138
commit 08a3e9eb8d

View File

@ -252,7 +252,7 @@ private:
QWaylandCursorTheme *theme() const noexcept
{ return found ? position->theme.get() : nullptr; }
};
FindExistingCursorThemeResult findExistingCursorTheme(const QString &name, int pixelSize) const;
FindExistingCursorThemeResult findExistingCursorTheme(const QString &name, int pixelSize) const noexcept;
QScopedPointer<QWaylandCursor> mCursor;
#endif