ThreadInitializer destructor in MySqlStorage.cpp calls mysql_library_end() when
threadsCount is 0. However, tests delete the mysqle directory earlier, causing
mysql_library_end to crash due to the database already being deleted. Work around
by postponing the mysql directory deletion by creating temporary directory as test's
static variable.
As an interesting fact, TestSqlQueryMaker hits some ThreadWeaver-related segfault quite
often. This is also sometimes visible in some other tests, and is probably a symptom
of some real problem that might cause crashes sometimes.
Fix AMAROK_UTILITIES_DIR so amarokscanner can be found in tests
Used only by tests/core-impl/collections/db/sql/TestSqlScanManager.cpp; not completely
sure if necessary to use it at all, but at least make it find the scanner binary in
current build setup so tests work.
d3ec038...
by
l10n daemon script <email address hidden>
Fix Wikipedia album and composer loading, add warning message option
EngineController::isStream() is broken, so just try always prettyName() for album and
composer, as the code seems to return before that anyhow if the name is empty.
The warning message was set in engine but not yet displayed in UI. Add a
Kirigami.InlineMessage for displaying it if it exists. Try to empty it when not relevant
any more, display WebEngineView only when no message set. Seemed to work ok in every
scenario I tried.