summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/TEWidget.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/apps/embeddedkonsole/TEWidget.cpp b/core/apps/embeddedkonsole/TEWidget.cpp
index 3cb1c0a..5171bf1 100644
--- a/core/apps/embeddedkonsole/TEWidget.cpp
+++ b/core/apps/embeddedkonsole/TEWidget.cpp
@@ -1388,9 +1388,9 @@ void TEWidget::dropEvent(QDropEvent* event)
}
#endif
-void TEWidget::drop_menu_activated(int /*item*/)
+void TEWidget::drop_menu_activated(int item)
{
#ifndef QT_NO_DRAGANDDROP
switch (item)
{
@@ -1417,8 +1417,10 @@ void TEWidget::drop_menu_activated(int /*item*/)
currentSession->getEmulation()->sendString("\n");
// KWM::activate((Window)this->winId());
break;
}
+#else
+ Q_UNUSED(item);
#endif
}
void TEWidget::setWrapAt(int columns)