aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/tools
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2014-07-08 12:28:55 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2014-07-09 16:40:33 +0200
commit9b925ffec2ca3e87893e5699cc8d48132c5af517 (patch)
treee1300ac119f4caf81999feff8f4e77890ec59491 /tests/auto/tools
parent1f15a83966d600d4f93c07c17a07b24a1c1627b2 (diff)
remove qbsSettings() function
Don't use a special Settings shared pointer. This simplifies the code a lot. Change-Id: I974cf9634d1760633744b1ed3cc18a9458ae2caf Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'tests/auto/tools')
-rw-r--r--tests/auto/tools/tst_tools.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/tools/tst_tools.cpp b/tests/auto/tools/tst_tools.cpp
index 7a1f8fd77..9323f4847 100644
--- a/tests/auto/tools/tst_tools.cpp
+++ b/tests/auto/tools/tst_tools.cpp
@@ -27,7 +27,7 @@
**
****************************************************************************/
-#include <app/shared/qbssettings.h>
+#include <tools/settings.h>
#include <tools/tst_tools.h>
#include <QCoreApplication>
@@ -36,7 +36,7 @@
int main(int argc, char *argv[])
{
QCoreApplication app(argc, argv);
- SettingsPtr settings = qbsSettings(QString());
- qbs::Internal::TestTools tt(settings.data());
+ qbs::Settings settings((QString()));
+ qbs::Internal::TestTools tt(&settings);
return QTest::qExec(&tt, argc, argv);
}