diff options
| author | 2010-07-14 13:31:37 +0000 | |
|---|---|---|
| committer | 2010-07-14 13:31:37 +0000 | |
| commit | 484d98ded2038f4dd262d546b4e0fe460d907bd4 (patch) | |
| tree | 4e9541dab6a937b8f580912e8c7d6decce42ef68 /src/modules/popupeditor/popupeditor.cpp | |
| parent | updated some mediaplayer homepage urls and some other typos, thanks xoffice (diff) | |
| download | KVIrc-484d98ded2038f4dd262d546b4e0fe460d907bd4.tar.gz KVIrc-484d98ded2038f4dd262d546b4e0fe460d907bd4.tar.bz2 KVIrc-484d98ded2038f4dd262d546b4e0fe460d907bd4.zip | |
Rewrite parts of the regchan module in order to
avoid the heavy usage of pointers.
Add some new nice debug macros and tools.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4669 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/popupeditor/popupeditor.cpp')
| -rw-r--r-- | src/modules/popupeditor/popupeditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/popupeditor/popupeditor.cpp b/src/modules/popupeditor/popupeditor.cpp index 95be5f0fc..d6e33d62a 100644 --- a/src/modules/popupeditor/popupeditor.cpp +++ b/src/modules/popupeditor/popupeditor.cpp @@ -1069,7 +1069,7 @@ void KviPopupEditor::oneTimeSetup() void KviPopupEditor::customContextMenuRequested(const QPoint &pos) { QTreeWidgetItem *it=m_pTreeWidget->itemAt(pos); - __range_valid(m_bOneTimeSetupDone); + KVI_ASSERT(m_bOneTimeSetupDone); if(it) { @@ -1266,7 +1266,7 @@ void KviPopupEditor::commit() void KviPopupEditor::getUniquePopupName(KviMenuTreeWidgetItem *item,QString &buffer) { - __range_valid(m_bOneTimeSetupDone); + KVI_ASSERT(m_bOneTimeSetupDone); if(buffer.isEmpty())buffer = __tr2qs_ctx("unnamed","editor"); QString newName = buffer; |
