diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2025-04-25 08:01:32 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2025-05-16 08:54:13 +0200 |
commit | 78f8c6c81c2e900aa1cb433940667a054cc0b6ed (patch) | |
tree | b03c5c96e1d45645a5528d2007f343f21bd46f48 /api/plugin-support.hpp | |
parent | 1f737463587fec21337631bc0320718b49fde26c (diff) |
buffer flush
Diffstat (limited to 'api/plugin-support.hpp')
-rw-r--r-- | api/plugin-support.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/api/plugin-support.hpp b/api/plugin-support.hpp index 4300da18..77160040 100644 --- a/api/plugin-support.hpp +++ b/api/plugin-support.hpp @@ -17,6 +17,7 @@ #include <QDebug> #include <QString> +#include <QtCore5Compat/QStringRef> #include <QLibrary> #include <QDir> #include <QIcon> @@ -159,7 +160,7 @@ private: for (auto name : names) { if (in.startsWith(name)) - return in.mid(std::strlen(name)).toString(); + return in.mid((int)std::strlen(name)).toString(); } } } |