[SCM] Kingston update notifier (update-notifier-kde) branch, master, updated. f805eb1c7995921693fec29a1c54b8cf4754df4b
Sune Vuorela
pusling-guest at alioth.debian.org
Tue May 4 16:09:58 UTC 2010
The following commit has been merged in the master branch:
commit f805eb1c7995921693fec29a1c54b8cf4754df4b
Author: Sune Vuorela <sune at vuorela.dk>
Date: Tue May 4 18:09:44 2010 +0200
don't use static const qstring, as it introduces possible crashes. thanks Andreas Hartmetz
---
src/update_worker.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/update_worker.cpp b/src/update_worker.cpp
index ef0612d..fc2e279 100644
--- a/src/update_worker.cpp
+++ b/src/update_worker.cpp
@@ -28,7 +28,6 @@
#include <QProcess>
#include <QDebug>
-static const QString apt_check("/usr/lib/update-notifier/apt-check");
update_worker_t::update_worker_t(QObject* parent) : QObject(parent){
m_runner = new QProcess(this);
@@ -38,6 +37,7 @@ update_worker_t::update_worker_t(QObject* parent) : QObject(parent){
void update_worker_t::check_for_updates() {
if(m_runner->state()==QProcess::NotRunning) {
+ const QString apt_check("/usr/lib/update-notifier/apt-check");
m_runner->start(apt_check);
} else {
emit error("ALREADY RUNNING",already_running);
--
Kingston update notifier (update-notifier-kde)
More information about the pkg-kde-commits
mailing list