author | llornkcor <llornkcor> | 2004-12-28 23:17:43 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-12-28 23:17:43 (UTC) |
commit | e2d6f156eacc312f270a1b5c3830e58be8941460 (patch) (side-by-side diff) | |
tree | 85cc827910cd5617f01de4ded6cbc302ffd73bfe | |
parent | 47b3f934ed4f5d84356b5b052aed018dc97ab6a7 (diff) | |
download | opie-e2d6f156eacc312f270a1b5c3830e58be8941460.zip opie-e2d6f156eacc312f270a1b5c3830e58be8941460.tar.gz opie-e2d6f156eacc312f270a1b5c3830e58be8941460.tar.bz2 |
fix compile
-rw-r--r-- | core/apps/embeddedkonsole/TEWidget.cpp | 4 |
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 @@ -1386,13 +1386,13 @@ void TEWidget::dropEvent(QDropEvent* event) // Paste it } } #endif -void TEWidget::drop_menu_activated(int /*item*/) +void TEWidget::drop_menu_activated(int item) { #ifndef QT_NO_DRAGANDDROP switch (item) { case 0: // paste currentSession->getEmulation()->sendString(dropText.local8Bit()); @@ -1415,12 +1415,14 @@ void TEWidget::drop_menu_activated(int /*item*/) dropText.replace(QRegExp(" "), "\\ "); // escape spaces currentSession->getEmulation()->sendString(dropText.local8Bit()); currentSession->getEmulation()->sendString("\n"); // KWM::activate((Window)this->winId()); break; } +#else + Q_UNUSED(item); #endif } void TEWidget::setWrapAt(int columns) { vcolumns = columns; |