diff options
Diffstat (limited to 'src/modules/objects/qtftp')
| -rw-r--r-- | src/modules/objects/qtftp/qftp.cpp | 3 | ||||
| -rw-r--r-- | src/modules/objects/qtftp/qftp.h | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/modules/objects/qtftp/qftp.cpp b/src/modules/objects/qtftp/qftp.cpp index 626aaae70..2f048985e 100644 --- a/src/modules/objects/qtftp/qftp.cpp +++ b/src/modules/objects/qtftp/qftp.cpp @@ -78,8 +78,7 @@ public: // If is_ba is true, ba is used; ba is never 0. // Otherwise dev is used; dev can be 0 or not. - union - { + union { QByteArray * ba; QIODevice * dev; } data; diff --git a/src/modules/objects/qtftp/qftp.h b/src/modules/objects/qtftp/qftp.h index 68c14e46d..f9b6ff1df 100644 --- a/src/modules/objects/qtftp/qftp.h +++ b/src/modules/objects/qtftp/qftp.h @@ -143,7 +143,8 @@ public: public Q_SLOTS: void abort(); - Q_SIGNALS : void stateChanged(int); +Q_SIGNALS: + void stateChanged(int); void listInfo(const QUrlInfo &); void readyRead(); void dataTransferProgress(qint64, qint64); @@ -239,8 +240,7 @@ private: // If is_ba is true, ba is used; ba is never 0. // Otherwise dev is used; dev can be 0 or not. - union - { + union { QByteArray * ba; QIODevice * dev; } data; |
