Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 62f9183f authored by Vangelis Tasoulas's avatar Vangelis Tasoulas Committed by Alexey Min

Gwenview: suppressed unused interface variables compiler warnings.

Summary: Just added a couple of Q_UNUSED and a (void)var in order to suppress some compiler warning due to unused interface variables.

Reviewers: broulik, gateau, lukas, #kde_applications, ngraham, aacid

Reviewed By: #kde_applications, ngraham

Differential Revision: https://phabricator.kde.org/D7731
parent 0d5915a1
......@@ -490,6 +490,7 @@ void KIPIInterface::slotDirectoryChanged()
#ifdef GWENVIEW_KIPI_WITH_CREATE_METHODS
KIPI::FileReadWriteLock* KIPIInterface::createReadWriteLock(const QUrl& url) const
{
Q_UNUSED(url);
return NULL;
}
......
......@@ -1543,6 +1543,7 @@ EXTERN(void)
jcopy_markers_execute (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
JCOPY_OPTION option)
{
(void)option; /* Suppress compiler unused parameter warning. */
jpeg_saved_marker_ptr marker;
/* In the current implementation, we don't actually need to examine the
......
......@@ -59,6 +59,8 @@ QList<QWidget*> TagItemDelegate::createItemWidgets(const QModelIndex &index) con
<< QEvent::MouseButtonRelease \
<< QEvent::MouseButtonDblClick);
Q_UNUSED(index);
QToolButton* assignToAllButton = new QToolButton;
initButton(assignToAllButton);
assignToAllButton->setIcon(QIcon::fromTheme("fill-color")); /* FIXME: Probably not the appropriate icon */
......
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