Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit f8ee589b authored by Michael Pyne's avatar Michael Pyne

Use QStringBuilder by default.

parent 99a06b6e
......@@ -158,6 +158,7 @@ ecm_add_app_icon(juk_SRCS ICONS ${ICONS_SRCS})
add_executable(juk ${juk_SRCS})
kde_target_enable_exceptions(juk PRIVATE)
target_compile_definitions(juk PRIVATE QT_USE_QSTRINGBUILDER)
if(NOT MSVC AND NOT ( WIN32 AND "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel" ) )
set( LIBMATH m )
......
......@@ -28,7 +28,6 @@
#include <ktoolbarpopupaction.h>
#include <kdirwatch.h>
#include <QStringBuilder>
#include <QList>
#include <QDragMoveEvent>
#include <QDropEvent>
......@@ -241,7 +240,7 @@ void CollectionList::saveItemsToCache() const
qCDebug(JUK_LOG) << "Saving collection list to cache";
QString cacheFileName =
KGlobal::dirs()->saveLocation("appdata") % QLatin1String("cache");
KGlobal::dirs()->saveLocation("appdata") + QLatin1String("cache");
KSaveFile f(cacheFileName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment