Commit f45763da authored by Ragnar Thomsen's avatar Ragnar Thomsen
Browse files

Use Q_UNUSED to silence some warnings

parent 982e6489
......@@ -224,6 +224,7 @@ void MainWindow::openArchive()
{
Interface *iface = qobject_cast<Interface*>(m_part);
Q_ASSERT(iface);
Q_UNUSED(iface);
QFileDialog dlg(this, i18nc("to open an archive", "Open Archive"));
dlg.setMimeTypeFilters(Kerfuffle::supportedMimeTypes());
......@@ -265,6 +266,7 @@ void MainWindow::newArchive()
{
Interface *iface = qobject_cast<Interface*>(m_part);
Q_ASSERT(iface);
Q_UNUSED(iface);
const QStringList mimeTypes = Kerfuffle::supportedWriteMimeTypes();
......
......@@ -712,6 +712,7 @@ void ArchiveModel::slotEntryRemoved(const QString & path)
if (entry) {
ArchiveDirNode *parent = entry->parent();
QModelIndex index = indexForNode(entry);
Q_UNUSED(index);
beginRemoveRows(indexForNode(parent), entry->row(), entry->row());
......
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