Commit 16cd749d authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

interface: always use uint for number of entries

Instead of using uint or int in differenct places.

GIT_SILENT
parent 8d47eae6
......@@ -283,7 +283,7 @@ bool ReadWriteArchiveInterface::isReadOnly() const
}
}
int ReadOnlyArchiveInterface::numberOfEntries() const
uint ReadOnlyArchiveInterface::numberOfEntries() const
{
return m_numberOfEntries;
}
......
......@@ -155,7 +155,7 @@ public:
bool isHeaderEncryptionEnabled() const;
virtual QString multiVolumeName() const;
void setMultiVolume(bool value);
int numberOfEntries() const;
uint numberOfEntries() const;
QMimeType mimetype() const;
/**
......@@ -191,7 +191,7 @@ protected:
bool isCorrupt() const;
QString m_comment;
int m_numberOfVolumes;
int m_numberOfEntries;
uint m_numberOfEntries;
KPluginMetaData m_metaData;
private:
......
......@@ -626,7 +626,7 @@ void AddJob::doWork()
}
// Count total number of entries to be added.
qulonglong totalCount = 0;
uint totalCount = 0;
QElapsedTimer timer;
timer.start();
foreach (const Archive::Entry* entry, m_entries) {
......
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