Commit 556c3a5f authored by Àlex Fiestas's avatar Àlex Fiestas

Added const into an inline method

parent 93c0763e
......@@ -38,8 +38,7 @@ class FileTransferJob
public:
FileTransferJob(const QSharedPointer<QIODevice>& origin, int size, const KUrl& destination);
virtual void start();
KUrl destination() { return mDestination->url(); }
KUrl destination() const { return mDestination->url(); }
void setDeviceName(const QString &deviceName) {mDeviceName = deviceName;};
public Q_SLOTS:
void readyRead();
......
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