diff options
-rw-r--r-- | desktop-utilities/lumina-terminal/TerminalWidget.cpp | 2 | ||||
-rw-r--r-- | dev-tools/systray-tester/main.cpp | 2 | ||||
-rw-r--r-- | libLumina/LuminaSingleApplication.h | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/desktop-utilities/lumina-terminal/TerminalWidget.cpp b/desktop-utilities/lumina-terminal/TerminalWidget.cpp index 6e05531b..a90d9846 100644 --- a/desktop-utilities/lumina-terminal/TerminalWidget.cpp +++ b/desktop-utilities/lumina-terminal/TerminalWidget.cpp @@ -15,7 +15,6 @@ #include <LuminaXDG.h> //Special control code ending symbols (aside from letters) -//QByteArray CC_END_SYMBOLS("@"); TerminalWidget::TerminalWidget(QWidget *parent, QString dir) : QTextEdit(parent){ //Setup the text widget @@ -441,6 +440,7 @@ void TerminalWidget::keyPressEvent(QKeyEvent *ev){ if(ev->text().isEmpty() || ev->text()=="\b" ){ sendKeyPress(ev->key()); + //PROC->writeTTY( QByteArray::fromHex(ev->nativeVirtualKey()) ); }else{ if( (ev->key()==Qt::Key_Enter || ev->key()==Qt::Key_Return) && !this->textCursor().atEnd() ){ sendKeyPress(Qt::Key_End); //just in case the cursor is not at the end (TTY will split lines and such - ugly) diff --git a/dev-tools/systray-tester/main.cpp b/dev-tools/systray-tester/main.cpp index 309ab4cb..ea631894 100644 --- a/dev-tools/systray-tester/main.cpp +++ b/dev-tools/systray-tester/main.cpp @@ -2,6 +2,8 @@ #include <QSystemTrayIcon> #include "Trayapp.h" +#include <unistd.h> + int main(int argc, char *argv[]) { QApplication a(argc, argv); diff --git a/libLumina/LuminaSingleApplication.h b/libLumina/LuminaSingleApplication.h index 7e17e8b3..725d8e40 100644 --- a/libLumina/LuminaSingleApplication.h +++ b/libLumina/LuminaSingleApplication.h @@ -46,7 +46,6 @@ private: QString cfile; QTranslator *cTrans; //current translation - void PerformLockChecks(); private slots: |