Commit 67772859 authored by Andrea Scarpino's avatar Andrea Scarpino

Fix config file path following harbour policies

parent 61975b9c
* Fri Jun 03 2016 Andrea Scarpino <me@andreascarpino.it> 0.6.1-1
- Fix app name following Harbour policies
* Thu Jun 02 2016 Andrea Scarpino <me@andreascarpino.it> 0.6-1
- Implemented a poller to ping all hosts from history
- Add Sweding and Italian translations
......
......@@ -13,7 +13,7 @@ Name: harbour-hostisdown
%{!?qtc_make:%define qtc_make make}
%{?qtc_builddir:%define _builddir %qtc_builddir}
Summary: Check if the desired host is up or not
Version: 0.6
Version: 0.6.1
Release: 1
Group: Qt/Qt
License: MIT
......
......@@ -39,7 +39,7 @@ HostsManager::HostsManager(QObject *parent) :
, m_model(new HostsSqlModel(this))
, m_timer(0)
{
m_settings = new QSettings(QCoreApplication::organizationDomain(), QCoreApplication::applicationName(), this);
m_settings = new QSettings(QCoreApplication::applicationName(), QCoreApplication::applicationName(), this);
setPoller(m_settings->value("Poller", 0).toUInt());
if (m_timer) {
......
......@@ -33,8 +33,8 @@ int main(int argc, char *argv[])
QScopedPointer<QGuiApplication> app(SailfishApp::application(argc, argv));
QScopedPointer<QQuickView> view(SailfishApp::createView());
QCoreApplication::setApplicationName(QStringLiteral("HostIsDown"));
QCoreApplication::setOrganizationDomain(QStringLiteral("it.andreascarpino"));
QCoreApplication::setApplicationName(QStringLiteral("harbour-hostisdown"));
QCoreApplication::setOrganizationDomain(QStringLiteral("andreascarpino.it"));
HostsManager manager;
view->rootContext()->setContextProperty("manager", &manager);
......
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