1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/x11-wm/xwmm/files/patch-ab

21 lines
1.0 KiB
Plaintext
Raw Normal View History

--- 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() );