summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mainwindow.cpp12
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);