diff options
| author | 2015-10-27 06:37:13 -0400 | |
|---|---|---|
| committer | 2015-10-27 07:26:20 -0400 | |
| commit | f79e175badd88b7ccf82c13b02400dd4797ce177 (patch) | |
| tree | 771184eaf124d6f3dea3c5721762d41b334c39c2 /src | |
| parent | Merge pull request #1694 from blindsighttf2/spellcheck (diff) | |
| download | KVIrc-f79e175badd88b7ccf82c13b02400dd4797ce177.tar.gz KVIrc-f79e175badd88b7ccf82c13b02400dd4797ce177.tar.bz2 KVIrc-f79e175badd88b7ccf82c13b02400dd4797ce177.zip | |
Clean up double semicolons
Diffstat (limited to 'src')
| -rw-r--r-- | src/kvilib/core/KviCString.cpp | 2 | ||||
| -rw-r--r-- | src/kvirc/kernel/KviApplication.cpp | 2 | ||||
| -rw-r--r-- | src/kvirc/kernel/KviTextIconManager.cpp | 2 | ||||
| -rw-r--r-- | src/modules/editor/ScriptEditorImplementation.cpp | 4 | ||||
| -rw-r--r-- | src/modules/editor/libkvieditor.cpp | 2 | ||||
| -rw-r--r-- | src/modules/objects/KvsObject_tabWidget.cpp | 2 | ||||
| -rw-r--r-- | src/modules/theme/SaveThemeDialog.cpp | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/src/kvilib/core/KviCString.cpp b/src/kvilib/core/KviCString.cpp index 69a10fa9b..59cb59de8 100644 --- a/src/kvilib/core/KviCString.cpp +++ b/src/kvilib/core/KviCString.cpp @@ -2820,7 +2820,7 @@ int KviCString::findFirstIdx(const char *str,bool caseS) const // code to QString and use QString::findRev(). // We must throw away KviCString at all in this case... - // return QString(m_ptr).find(QString(str),0,caseS);; + // return QString(m_ptr).find(QString(str),0,caseS); // Both this KviCString and the const char * str are assumed // to be in the proper (and same) encoding. diff --git a/src/kvirc/kernel/KviApplication.cpp b/src/kvirc/kernel/KviApplication.cpp index 6753ea39d..603379fc8 100644 --- a/src/kvirc/kernel/KviApplication.cpp +++ b/src/kvirc/kernel/KviApplication.cpp @@ -1460,7 +1460,7 @@ void KviApplication::createGlobalBackgrounds(QPixmap * pix) g_pShadedParentGlobalDesktopBackground = new QPixmap(pix->width(),pix->height()); g_pShadedChildGlobalDesktopBackground = new QPixmap(pix->width(),pix->height()); QPainter p; - p.begin(g_pShadedParentGlobalDesktopBackground);; + p.begin(g_pShadedParentGlobalDesktopBackground); p.drawPixmap(0,0,*pix); p.setCompositionMode(QPainter::CompositionMode_SourceAtop); if(KVI_OPTION_UINT(KviOption_uintGlobalTransparencyParentFadeFactor)>100) diff --git a/src/kvirc/kernel/KviTextIconManager.cpp b/src/kvirc/kernel/KviTextIconManager.cpp index 1902a6c69..d3f485fb2 100644 --- a/src/kvirc/kernel/KviTextIconManager.cpp +++ b/src/kvirc/kernel/KviTextIconManager.cpp @@ -190,7 +190,7 @@ void KviTextIconManager::load() { g_pApp->getLocalKvircDirectory(szPath,KviApplication::Themes,KVI_OPTION_STRING(KviOption_stringIconThemeSubdir)); szPath += KVI_PATH_SEPARATOR_CHAR; - szPath += KVI_CONFIGFILE_TEXTICONS;; + szPath += KVI_CONFIGFILE_TEXTICONS; if(QFile::exists(szPath)) bCheckUserDefinedTheme=true; else diff --git a/src/modules/editor/ScriptEditorImplementation.cpp b/src/modules/editor/ScriptEditorImplementation.cpp index 0a13e5d71..d561225f1 100644 --- a/src/modules/editor/ScriptEditorImplementation.cpp +++ b/src/modules/editor/ScriptEditorImplementation.cpp @@ -859,7 +859,7 @@ void ScriptEditorImplementation::loadOptions() g_pEditorModulePointer->getDefaultConfigFileName(szTmp); KviConfigurationFile cfg(szTmp,KviConfigurationFile::Read); - g_clrBackground = cfg.readColorEntry("Background",QColor(0,0,0));; + g_clrBackground = cfg.readColorEntry("Background",QColor(0,0,0)); g_clrNormalText = cfg.readColorEntry("NormalText",QColor(100,255,0)); g_clrBracket = cfg.readColorEntry("Bracket",QColor(255,0,0)); g_clrComment = cfg.readColorEntry("Comment",QColor(0,120,0)); @@ -905,7 +905,7 @@ void ScriptEditorImplementation::saveOptions() g_pEditorModulePointer->getDefaultConfigFileName(szTmp); KviConfigurationFile cfg(szTmp,KviConfigurationFile::Write); - cfg.writeEntry("Background",g_clrBackground);; + cfg.writeEntry("Background",g_clrBackground); cfg.writeEntry("NormalText",g_clrNormalText); cfg.writeEntry("Bracket",g_clrBracket); cfg.writeEntry("Comment",g_clrComment); diff --git a/src/modules/editor/libkvieditor.cpp b/src/modules/editor/libkvieditor.cpp index ff2366ef9..18deee47b 100644 --- a/src/modules/editor/libkvieditor.cpp +++ b/src/modules/editor/libkvieditor.cpp @@ -53,7 +53,7 @@ static bool editor_module_cleanup(KviModule *) while(g_pScriptEditorWindowList->first()) { - QObject * w = g_pScriptEditorWindowList->first()->parent();; + QObject * w = g_pScriptEditorWindowList->first()->parent(); while(w) { //qDebug("%s %s %i %s",__FILE__,__FUNCTION__,__LINE__,w->className()); diff --git a/src/modules/objects/KvsObject_tabWidget.cpp b/src/modules/objects/KvsObject_tabWidget.cpp index 63e38ca05..f9408475e 100644 --- a/src/modules/objects/KvsObject_tabWidget.cpp +++ b/src/modules/objects/KvsObject_tabWidget.cpp @@ -180,7 +180,7 @@ KVSO_END_CONSTRUCTOR(KvsObject_tabWidget) KVSO_BEGIN_DESTRUCTOR(KvsObject_tabWidget) -tabsList.clear();; +tabsList.clear(); KVSO_END_DESTRUCTOR(KvsObject_tabWidget) bool KvsObject_tabWidget::init(KviKvsRunTimeContext *,KviKvsVariantList *) diff --git a/src/modules/theme/SaveThemeDialog.cpp b/src/modules/theme/SaveThemeDialog.cpp index 19e3ede75..cefcbf5df 100644 --- a/src/modules/theme/SaveThemeDialog.cpp +++ b/src/modules/theme/SaveThemeDialog.cpp @@ -159,7 +159,7 @@ SaveThemeDialog::SaveThemeDialog(QWidget * pParent) pLabel->setWordWrap(true); QString ozText = "<p>"; ozText += __tr2qs_ctx("To use the default and latest icon/image set automatically, uncheck this option.<br><br>To replace specific icons/images in your theme, include only those you wish to replace.","theme"); - ozText += "</p><p>";; + ozText += "</p><p>"; ozText += __tr2qs_ctx("Hit the <b>\"Next\"</b> button to continue.","theme"); ozText += "<p>"; |
