[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.1/kdeplasma-addons/applets/fileWatcher
From: Laurent Montel <montel () kde ! org>
Date: 2008-07-22 11:29:42
Message-ID: 1216726182.090154.27658.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 836491 by mlaurent:
Backport:
Remove not used pointer
M +2 -3 fileWatcher.cpp
M +0 -2 fileWatcher.h
--- branches/KDE/4.1/kdeplasma-addons/applets/fileWatcher/fileWatcher.cpp #836490:836491
@@ -36,8 +36,7 @@
#include "fileWatcherConfig.h"
FileWatcher::FileWatcher(QObject *parent, const QVariantList &args)
- : Plasma::Applet(parent, args),
- config_dialog(0)
+ : Plasma::Applet(parent, args)
{
setHasConfigurationInterface(true);
resize(400, 400);
@@ -150,7 +149,7 @@
void FileWatcher::createConfigurationInterface(KConfigDialog *parent)
{
- config_dialog = new FileWatcherConfig(parent);
+ FileWatcherConfig* config_dialog = new FileWatcherConfig(parent);
parent->setButtons(KDialog::Ok | KDialog::Cancel | KDialog::Apply);
parent->addPage(config_dialog, parent->windowTitle(), icon());
--- branches/KDE/4.1/kdeplasma-addons/applets/fileWatcher/fileWatcher.h #836490:836491
@@ -27,7 +27,6 @@
class QTextDocument;
class QGraphicsTextItem;
-class FileWatcherConfig;
class FileWatcher : public Plasma::Applet
{
@@ -57,7 +56,6 @@
QFile *file;
QFileSystemWatcher *watcher;
- FileWatcherConfig *config_dialog;
QGraphicsTextItem *textItem;
QTextStream *textStream;
QTextDocument *textDocument;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic