many others, a complete list can be found in the file AUTHORS.
This program is Free Software; you can redistribute it and/or
modify it under the terms of version two of the GNU General Public
- License as published by the Free Software Foundation plus additions
- that are listed in the file LICENSE.
+ License as published by the Free Software Foundation and included
+ in the file LICENSE.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
*/
/*
- * Version $Id: joblog.cpp 4230 2007-02-21 20:07:37Z kerns $
+ * Version $Id$
*
* JobLog Class
*
m_name = "JobLog";
m_closeable = true;
pgInitialize(parentTreeWidgetItem);
+ QTreeWidgetItem* thisitem = mainWin->getFromHash(this);
+ thisitem->setIcon(0,QIcon(QString::fromUtf8(":images/joblog.png")));
m_cursor = new QTextCursor(textEdit->document());
m_jobId = jobId;
QString heading("<A href=\"#top\">Log records for job ");
heading += m_jobId + "</A>\n";
textEdit->insertHtml(heading);
+
+ if (!m_console->preventInUseConnect())
+ return;
QString query("");
query = "SELECT Time, LogText FROM Log WHERE JobId='" + m_jobId + "'";
} /* foreach resultline */
if (resultcount == 0) {
/* show a message about configuration item */
- printf("go here\n");
QMessageBox::warning(this, tr("Bat"),
tr("There were no results ?? !!!.\n"
"It is possible you may need to add \"catalog = all\" to the Messages stanza"