[Chinese-commits] [fqterm] 11/76: Disable autoupdate
Boyuan Yang
hosiet-guest at moszumanska.debian.org
Thu Oct 27 03:16:57 UTC 2016
This is an automated email from the git hooks/post-receive script.
hosiet-guest pushed a commit to branch master
in repository fqterm.
commit a1031553ef3136bbc074255a59495977490b50ee
Author: Iru Cai <mytbk920423 at gmail.com>
Date: Tue Apr 29 13:29:05 2014 +0800
Disable autoupdate
---
src/fqterm/CMakeLists.txt | 2 --
src/fqterm/fqterm_frame.cpp | 6 +++---
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/fqterm/CMakeLists.txt b/src/fqterm/CMakeLists.txt
index a93cdaf..2f7cb1a 100644
--- a/src/fqterm/CMakeLists.txt
+++ b/src/fqterm/CMakeLists.txt
@@ -1,11 +1,9 @@
set(fqterm_SRCS
fqterm_app.h
- fqterm_autoupdate.h
fqterm_frame.h
fqterm_screen.h
fqterm_window.h
fqterm_wndmgr.h
- fqterm_autoupdate.cpp
fqterm_app.cpp
fqterm_frame.cpp
fqterm_screen.cpp
diff --git a/src/fqterm/fqterm_frame.cpp b/src/fqterm/fqterm_frame.cpp
index b50eff9..1a9899b 100644
--- a/src/fqterm/fqterm_frame.cpp
+++ b/src/fqterm/fqterm_frame.cpp
@@ -59,7 +59,7 @@
#include "fqterm.h"
#include "fqterm_path.h"
-#include "fqterm_autoupdate.h"
+//#include "fqterm_autoupdate.h"
#include "fqterm_config.h"
#include "fqterm_frame.h"
#include "fqterm_param.h"
@@ -181,7 +181,7 @@ FQTermFrame::FQTermFrame()
statusBar()->addWidget(statusBar_, 0);
installEventFilter(this);
-
+/*
QDate lastCheckDate = QDate::fromString(config_->getItemValue("global", "lastcheckupdate"));
QDate currentDate = QDate::currentDate();
if (!lastCheckDate.isValid() || lastCheckDate.daysTo(currentDate) >= 31) {
@@ -190,7 +190,7 @@ FQTermFrame::FQTermFrame()
autoUpdater->checkUpdate();
config_->setItemValue("global", "lastcheckupdate", currentDate.toString());
}
-
+*/
serverThread_ = new FQTermMiniServerThread();
if (FQTermPref::getInstance()->runServer_)
serverThread_->start();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/chinese/fqterm.git
More information about the Chinese-commits
mailing list