All pastes #431878 Raw Edit

Cheetah

public text v1 · immutable
·published 2007-04-09 22:43 UTC
rendered paste body
void winPrefs::onChannelNameChanged()
{
	QListWidgetItem *tmpItem = fChannelList->currentItem();
	
	classChannel cc = pWorld->pChannels[ tmpItem->data(Qt::UserRole).toInt() ];
	
	cc.channelName.append("+");
	cc.channelName = fChanName->text();
	
	pWorld->pChannels[ tmpItem->data(Qt::UserRole).toInt() ] = cc;
	//refreshChannels();
	
}