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

Added const into an inline method

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