Commit 67a9c7e0 authored by Lukas Appelhans's avatar Lukas Appelhans

Fixes

parent c0db9cc9
......@@ -79,4 +79,4 @@ install(TARGETS akabeicore DESTINATION ${LIB_INSTALL_DIR})
install(FILES ${AKABEI_CORE_HDRS} DESTINATION ${INCLUDES_INSTALL_DIR})
install(FILES ${AKABEI_OPERATION_HDRS} DESTINATION ${INCLUDES_INSTALL_DIR}/operations)
add_subdirectory(benchmarks)
\ No newline at end of file
add_subdirectory(benchmarks)
......@@ -8,9 +8,9 @@
void DatabaseBenchmark::benchmark_start()
{
Akabei::Config::instance()->setDatabasePath("/home/kde-devel/test/dbs");
Akabei::Config::instance()->setRoot("/");
Akabei::Config::instance()->setCachePath("/home/kde-devel/test/cache");
Akabei::Config::instance()->setDatabasePath("/home/lukas/Development/buildroot/databases/");
Akabei::Config::instance()->setRoot("/home/lukas/Development/buildroot/_chroots/master-x32/");
Akabei::Config::instance()->setCachePath("/home/lukas/Development/buildroot/_cache-x32/");
//Akabei::Config::instance()->setDatabases(QStringList() << "test1" << "test2");
......@@ -28,7 +28,7 @@ void DatabaseBenchmark::benchmark_start()
void DatabaseBenchmark::benchmark_QueryGroups()
{
GroupEventLoop e;
connect(Akabei::Backend::instance(), SIGNAL(queryGroupCompleted(QUuid,QList<Akabei::Group*>)),
connect(Akabei::Backend::instance(), SIGNAL(queryGroupsCompleted(QUuid,QList<Akabei::Group*>)),
&e, SLOT(requestQuit(QUuid,QList<Akabei::Group*>)));
QBENCHMARK_ONCE {
......
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