From e36d365f291702528f8bd47d2f952c46432bdc0a Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 31 Jan 2014 17:20:28 +0100 Subject: Remove silly debug message boxes --- src/mainwindow.cpp | 12 ------------ 1 file changed, 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); -- cgit v1.2.3-55-g7522