diff options
author | Simon Rettberg | 2014-01-31 17:20:28 +0100 |
---|---|---|
committer | Simon Rettberg | 2014-01-31 17:20:28 +0100 |
commit | e36d365f291702528f8bd47d2f952c46432bdc0a (patch) | |
tree | d6d16c2c335c5f3ce891e7817194b82f7fe5fddc | |
parent | Implement user/password authentication support (diff) | |
download | printergui-e36d365f291702528f8bd47d2f952c46432bdc0a.tar.gz printergui-e36d365f291702528f8bd47d2f952c46432bdc0a.tar.xz printergui-e36d365f291702528f8bd47d2f952c46432bdc0a.zip |
Remove silly debug message boxes
-rw-r--r-- | src/mainwindow.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index e811185..4b046d0 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -17,10 +17,6 @@ static const char * cups_password_cb(const char *prompt) fprintf(fh, "Drucke mit Authentifizierung als '%s', Passwort mit Länge '%d'\n", _username, passlen); fclose(fh); } - QMessageBox::information( - NULL, - "CALLBACK", - bla ); cupsSetUser(_username); return _password; } @@ -236,16 +232,8 @@ void MainWindow::on_buttonPrint_clicked() { if (!this->authRequired) { // Only Username cupsSetUser(this->user); - QMessageBox::information( - NULL, - "PASS", - "Kein Auth" ); } else { // Username + Password - QMessageBox::information( - NULL, - "PASS", - "Mit Auth" ); snprintf(_username, FIELDLEN, "%s", ui->lineEditUser->text().toUtf8().constData()); snprintf(_password, FIELDLEN, "%s", ui->lineEditPass->text().toUtf8().constData()); cupsSetPasswordCB(&cups_password_cb); |