Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ben Boeckel
QtTesting
Commits
93694c6f
Commit
93694c6f
authored
Feb 15, 2007
by
Clinton Stimpson
Browse files
ENH: Better error reporting for combo boxes.
parent
7ec4bc1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
pqAbstractStringEventPlayer.cxx
View file @
93694c6f
...
...
@@ -38,6 +38,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <QTextDocument>
#include <QTextEdit>
#include "pqObjectNaming.h"
pqAbstractStringEventPlayer
::
pqAbstractStringEventPlayer
(
QObject
*
p
)
:
pqWidgetEventPlayer
(
p
)
{
...
...
@@ -64,8 +66,9 @@ bool pqAbstractStringEventPlayer::playEvent(QObject* Object, const QString& Comm
{
possibles
+=
QString
(
"
\t
"
)
+
object
->
itemText
(
i
)
+
QString
(
"
\n
"
);
}
qCritical
()
<<
"Unable to find "
<<
value
<<
" in combo box
\n
"
<<
"Possible values are:
\n
"
<<
possibles
;
qCritical
()
<<
"Unable to find "
<<
value
<<
" in combo box: "
<<
pqObjectNaming
::
GetName
(
*
Object
)
<<
"
\n
Possible values are:
\n
"
<<
possibles
;
Error
=
true
;
}
return
true
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment