blob: 3968050db0cd7df99bbe77ad57462e7ea43fd245 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- WMMListBox.cpp.orig Fri Nov 26 20:58:19 1999
+++ WMMListBox.cpp Fri Nov 26 21:03:11 1999
@@ -356,7 +356,7 @@
// interactive: create a new entry
entryForm form;
if ( form.exec() == QDialog::Accepted ) {
- char *pTitle = form.getTitleText();
+ const char *pTitle = form.getTitleText();
QString *commandLine = new QString( form.getCommandLineText() );
bool isDefault = form.getDefault();
//debug("newEntry(%s%s : %s)", isDefault?"*":"", pTitle, commandLine->data() );
@@ -401,7 +401,7 @@
form.setCommandLineText( commandLines.at( index )->data() );
form.setDefault( (defaultIndex==index)?TRUE:FALSE );
if ( form.exec() == QDialog::Accepted ) {
- char *pTitle = form.getTitleText();
+ const char *pTitle = form.getTitleText();
QString *commandLine = new QString( form.getCommandLineText() );
bool isDefault = form.getDefault();
//debug("reviseEntry(%s%s : %s)", isDefault?"*":"", pTitle, commandLine->data() );
|