diff options
Diffstat (limited to 'src/plugins/platformthemes/gtk3/qgtk3theme.cpp')
-rw-r--r-- | src/plugins/platformthemes/gtk3/qgtk3theme.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platformthemes/gtk3/qgtk3theme.cpp b/src/plugins/platformthemes/gtk3/qgtk3theme.cpp index 42cb0c7d6e..03f19a5b70 100644 --- a/src/plugins/platformthemes/gtk3/qgtk3theme.cpp +++ b/src/plugins/platformthemes/gtk3/qgtk3theme.cpp @@ -115,7 +115,7 @@ QGtk3Theme::QGtk3Theme() if (qEnvironmentVariableIsEmpty("XCURSOR_SIZE")) { const int cursorSize = gtkSetting<gint>("gtk-cursor-theme-size"); if (cursorSize > 0) - qputenv("XCURSOR_SIZE", QString::number(cursorSize).toUtf8()); + qputenv("XCURSOR_SIZE", QByteArray::number(cursorSize)); } if (qEnvironmentVariableIsEmpty("XCURSOR_THEME")) { const QString cursorTheme = gtkSetting("gtk-cursor-theme-name"); |