From: APTX Date: Sat, 11 Apr 2009 13:14:12 +0000 (+0200) Subject: - Use 64bit integer for file size X-Git-Url: https://gitweb.tyo.aptx.org/?a=commitdiff_plain;h=d6b78d1a32cae6c7b3eb0ce1a5e2daf920b733fa;p=anidbudpclient.git - Use 64bit integer for file size --- diff --git a/mylistaddcommand.cpp b/mylistaddcommand.cpp index 8f687eb..2ec8708 100644 --- a/mylistaddcommand.cpp +++ b/mylistaddcommand.cpp @@ -27,7 +27,7 @@ QByteArray MylistAddCommand::ed2kHash() const return m_ed2k; } -int MylistAddCommand::fileSize() const +qint64 MylistAddCommand::fileSize() const { return m_size; } diff --git a/mylistaddcommand.h b/mylistaddcommand.h index 122921f..002625b 100644 --- a/mylistaddcommand.h +++ b/mylistaddcommand.h @@ -17,7 +17,7 @@ public: QString file() const; QByteArray ed2kHash() const; - int fileSize() const; + qint64 fileSize() const; bool markWatched() const; void setMarkWatched(bool mark); @@ -44,7 +44,7 @@ private: bool m_markWatched; - int m_size; + qint64 m_size; QByteArray m_ed2k; QString m_file;