[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/ksysguard/gui/SensorDisplayLib
From:       John Tapsell <john.tapsell () kdemail ! net>
Date:       2009-12-03 2:44:01
Message-ID: 1259808241.124272.18261.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1057654 by johnflux:

Add an option to enable/disable scripting support.  Default is off.


 M  +2 -2      ProcessController.cc  


--- trunk/KDE/kdebase/workspace/ksysguard/gui/SensorDisplayLib/ProcessController.cc #1057653:1057654
@@ -147,6 +147,7 @@
 	mProcessList = new KSysGuardProcessList(this, hostName);
     mProcessList->setUpdateIntervalMSecs(0); //we will call updateList() manually
 	mProcessList->setContentsMargins(0,0,0,0);
+    mProcessList->setScriptingEnabled(true);
 	addActions(mProcessList->actions());
 	connect(mProcessList, SIGNAL(updated()), this, SIGNAL(updated()));
 	connect(mProcessList, SIGNAL(processListChanged()), this, SIGNAL(processListChanged()));
@@ -164,10 +165,9 @@
 
 	}
 
-		
 	setPlotterWidget(mProcessList);
 
-        QTimer::singleShot(0, mProcessList->filterLineEdit(), SLOT(setFocus()));
+    QTimer::singleShot(0, mProcessList->filterLineEdit(), SLOT(setFocus()));
 
 	registerSensor(new KSGRD::SensorProperties(hostName, sensorName, sensorType, title));
 	/* This just triggers the first communication. The full set of
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic