summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-29 11:23:44 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-29 11:58:50 (GMT)
commit717ad9d0c7f55d1fb00ea7bc88c3eef5c4afd1d1 (patch)
tree28bda9081871b1ce35ce9796390c479dfa772adc
parent6f2a8cd33f0b00e05235f6086dbd9df7d1d00d22 (diff)
Rename variable
-rw-r--r--plugins/messageviewerplugins/externalscriptplugin/viewerpluginexternalscriptinterface.cpp4
-rw-r--r--plugins/messageviewerplugins/externalscriptplugin/viewerpluginexternalscriptinterface.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/messageviewerplugins/externalscriptplugin/viewerpluginexternalscriptinterface.cpp b/plugins/messageviewerplugins/externalscriptplugin/viewerpluginexternalscriptinterface.cpp
index c49d801..2b14e61 100644
--- a/plugins/messageviewerplugins/externalscriptplugin/viewerpluginexternalscriptinterface.cpp
+++ b/plugins/messageviewerplugins/externalscriptplugin/viewerpluginexternalscriptinterface.cpp
@@ -60,7 +60,7 @@ ViewerPluginInterface::SpecificFeatureTypes ViewerPluginExternalscriptInterface:
void ViewerPluginExternalscriptInterface::setText(const QString &text)
{
- mSelectedText = text;
+ mText = text;
}
void ViewerPluginExternalscriptInterface::execute()
@@ -86,7 +86,7 @@ void ViewerPluginExternalscriptInterface::execute()
void ViewerPluginExternalscriptInterface::clear()
{
- mSelectedText.clear();
+ mText.clear();
mCurrentInfo.clear();
mMessage.clear();
}
diff --git a/plugins/messageviewerplugins/externalscriptplugin/viewerpluginexternalscriptinterface.h b/plugins/messageviewerplugins/externalscriptplugin/viewerpluginexternalscriptinterface.h
index 83f5219..acc349a 100644
--- a/plugins/messageviewerplugins/externalscriptplugin/viewerpluginexternalscriptinterface.h
+++ b/plugins/messageviewerplugins/externalscriptplugin/viewerpluginexternalscriptinterface.h
@@ -47,7 +47,7 @@ private:
QList<QAction *> mAction;
QStringList adaptArguments(const QStringList &scriptArguments);
QStringList mCurrentInfo;
- QString mSelectedText;
+ QString mText;
KMime::Message::Ptr mMessage;
};
}