summaryrefslogtreecommitdiffstats
path: root/tools/qml/qmlruntime.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2010-04-23 08:06:08 (GMT)
committerKai Koehne <kai.koehne@nokia.com>2010-04-26 13:29:18 (GMT)
commitf54179bd263133858289c1a4ff272df0cfb59407 (patch)
tree19ec8a0656056ee48927beda602d7151334c437a /tools/qml/qmlruntime.cpp
parentc3be50311d8d343609aa4f108e4e713d367e2907 (diff)
downloadQt-f54179bd263133858289c1a4ff272df0cfb59407.zip
Qt-f54179bd263133858289c1a4ff272df0cfb59407.tar.gz
Qt-f54179bd263133858289c1a4ff272df0cfb59407.tar.bz2
Unify naming of settings / UI to be "Qt Qml Runtime"
Reviewed-by: Henrik Hartz
Diffstat (limited to 'tools/qml/qmlruntime.cpp')
-rw-r--r--tools/qml/qmlruntime.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/qml/qmlruntime.cpp b/tools/qml/qmlruntime.cpp
index a715de9..9b9e4fe 100644
--- a/tools/qml/qmlruntime.cpp
+++ b/tools/qml/qmlruntime.cpp
@@ -341,14 +341,14 @@ private:
data.append("\n");
}
}
- QSettings settings("Nokia", "QtQmlViewer");
+ QSettings settings;
settings.setValue("Cookies",data);
}
void load()
{
QMutexLocker lock(&mutex);
- QSettings settings("Nokia", "QtQmlViewer");
+ QSettings settings;
QByteArray data = settings.value("Cookies").toByteArray();
setAllCookies(QNetworkCookie::parseCookies(data));
}
@@ -466,6 +466,7 @@ QDeclarativeViewer::QDeclarativeViewer(QWidget *parent, Qt::WindowFlags flags)
, m_scriptOptions(0), tester(0), useQmlFileBrowser(true)
{
QDeclarativeViewer::registerTypes();
+ setWindowTitle(tr("Qt Qml Runtime"));
devicemode = false;
skin = 0;
@@ -946,7 +947,7 @@ bool QDeclarativeViewer::open(const QString& file_or_url)
url = QUrl::fromLocalFile(fi.absoluteFilePath());
else
url = QUrl(file_or_url);
- setWindowTitle(tr("%1 - Qt Declarative UI Viewer").arg(file_or_url));
+ setWindowTitle(tr("%1 - Qt Qml Runtime").arg(file_or_url));
if (!m_script.isEmpty())
tester = new QDeclarativeTester(m_script, m_scriptOptions, canvas);