Permalink
Browse files

Mark option argument as unused to avoid warning.

  • Loading branch information...
1 parent 43f19df commit 3e2fee9ea8812a74eff02b75a1ed07c36113ef23 @tristandunn committed Aug 20, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/WebPage.cpp
View
@@ -155,6 +155,8 @@ QString WebPage::chooseFile(QWebFrame *parentFrame, const QString &suggestedFile
}
bool WebPage::extension(Extension extension, const ExtensionOption *option, ExtensionReturn *output) {
+ Q_UNUSED(option);
+
if (extension == ChooseMultipleFilesExtension) {
QStringList names = QStringList() << getLastAttachedFileName();
static_cast<ChooseMultipleFilesExtensionReturn*>(output)->fileNames = names;

0 comments on commit 3e2fee9

Please sign in to comment.