Commit 1f162125 authored by Lisa's avatar Lisa

Reverted previous commit who was created as a mistake

parent 63883548
......@@ -24,7 +24,7 @@
#include <QCoreApplication>
#include <QTimer>
OperationManager::OperationManager(APM::OperationType type, QList<APM::OperationName>& operations, QHash<APM::OptionName, QStringList>& options, QStringList& args, QObject * parent)
OperationManager::OperationManager(APM::OperationType type, QList<APM::OperationName> operations, QHash<APM::OptionName, QStringList> options, QStringList args, QObject * parent)
: QObject(parent),
m_type(type),
m_operations(operations),
......
......@@ -21,7 +21,7 @@ class OperationManager : public QObject
{
Q_OBJECT
public:
explicit OperationManager(APM::OperationType type, QList< APM::OperationName >& operations, QHash<APM::OptionName, QStringList>& options, QStringList& args, QObject* parent = 0);
explicit OperationManager(APM::OperationType type, QList< APM::OperationName > operations, QHash<APM::OptionName, QStringList> options, QStringList args, QObject* parent = 0);
virtual ~OperationManager();
private slots:
......@@ -30,9 +30,9 @@ private slots:
private:
APM::OperationType m_type;
QList<APM::OperationName>& m_operations;
QHash<APM::OptionName, QStringList>& m_options;
QStringList& m_args;
QList<APM::OperationName> m_operations;
QHash<APM::OptionName, QStringList> m_options;
QStringList m_args;
};
#endif //APM:H
......@@ -58,7 +58,7 @@ void RemoveOperation::start()
}
} else {
QTextStream err(stderr);
err << i18n("akabei: Operation not supported.") << std::endl;
err << i18n("akabei: Operation not supported.") << endl;
QCoreApplication::instance()->quit();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment