Navigation Menu

Skip to content

Commit

Permalink
[connectionagent] Do not set time updates to manual
Browse files Browse the repository at this point in the history
Revert commit e728710,
timed manages connman time update status.
  • Loading branch information
Petri M. Gerdt committed Nov 25, 2013
1 parent 39c20ad commit 9910e4c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
9 changes: 0 additions & 9 deletions connd/qconnectionmanager.cpp
Expand Up @@ -85,7 +85,6 @@ QConnectionManager::QConnectionManager(QObject *parent) :

askForRoaming = askRoaming();

connect(&clockModel,SIGNAL(timeUpdatesChanged()),this,SLOT(timeUpdatesChanged()));
ua = new UserAgent(this);

connect(ua,SIGNAL(userInputRequested(QString,QVariantMap)),
Expand Down Expand Up @@ -633,14 +632,6 @@ void QConnectionManager::serviceRemoved(const QString &srv)
serviceInProgress.clear();
}

void QConnectionManager::timeUpdatesChanged()
{
qDebug();
clockModel.setTimeUpdates("manual");
clockModel.setTimezoneUpdates("manual");
disconnect(&clockModel,SIGNAL(timeUpdatesChanged()),this,SLOT(timeUpdatesChanged()));
}

void QConnectionManager::setup()
{
qDebug() << Q_FUNC_INFO
Expand Down
3 changes: 0 additions & 3 deletions connd/qconnectionmanager.h
Expand Up @@ -26,7 +26,6 @@
#include <QQueue>
#include <QPair>
#include <QElapsedTimer>
#include <connman-qt5/clockmodel.h>

class UserAgent;
class SessionAgent;
Expand Down Expand Up @@ -114,7 +113,6 @@ public Q_SLOTS:
bool flightModeSuppression;
WakeupWatcher *mceWatch;
QTimer *goodConnectTimer;
ClockModel clockModel;

QElapsedTimer manualConnnectionTimer;
QString lastManuallyConnectedService;
Expand Down Expand Up @@ -153,7 +151,6 @@ private slots:

void connectionTimeout();
void serviceAutoconnectChanged(bool);
void timeUpdatesChanged();

};

Expand Down

0 comments on commit 9910e4c

Please sign in to comment.