From a3d5489417ec4f7d22954a22566e43a6330d72cf Mon Sep 17 00:00:00 2001 From: Vadim Peretokin Date: Mon, 15 Feb 2021 12:53:07 +0100 Subject: [PATCH] Internal: cleanup stray debug statements (#4802) * Cleanup stray debug statements * Revert accidental change --- src/TArea.cpp | 1 - src/TLuaInterpreter.cpp | 3 --- src/ctelnet.cpp | 1 - src/mudlet.cpp | 1 - 4 files changed, 6 deletions(-) diff --git a/src/TArea.cpp b/src/TArea.cpp index 7522329e0ad..28b8b591ca5 100644 --- a/src/TArea.cpp +++ b/src/TArea.cpp @@ -101,7 +101,6 @@ QMap>> TArea::koordinatenSystem() } kS[x][y].insert(z, id); } - //qDebug()<< "kS="< it2(host.mpMap->mpMapper->mp2dMap->mUserActions); while (it2.hasNext()) { it2.next(); @@ -1545,7 +1544,6 @@ int TLuaInterpreter::addMapEvent(lua_State* L) for (int i = 5; i <= lua_gettop(L); i++) { actionInfo << lua_tostring(L, i); } - qDebug() << actionInfo; Host& host = getHostFromLua(L); if (host.mpMap) { if (host.mpMap->mpMapper) { @@ -9457,7 +9455,6 @@ int TLuaInterpreter::setLabelStyleSheet(lua_State* L) std::string label = getVerifiedString(L, __func__, 1, "label").toStdString(); std::string markup = getVerifiedString(L, __func__, 2, "markup").toStdString(); Host& host = getHostFromLua(L); - //qDebug()<<"CSS: name:"<"; host.mpConsole->setLabelStyleSheet(label, markup); return 0; } diff --git a/src/ctelnet.cpp b/src/ctelnet.cpp index d8ac8c8b5c7..c3120ee2406 100644 --- a/src/ctelnet.cpp +++ b/src/ctelnet.cpp @@ -2742,7 +2742,6 @@ void cTelnet::processSocketData(char* in_buffer, int amount) if (mNeedDecompression) { datalen = decompressBuffer(in_buffer, amount, out_buffer); buffer = out_buffer; - //qDebug() << "buffer:" << buffer; } buffer[datalen] = '\0'; if (mpHost->mpConsole->mRecordReplay) { diff --git a/src/mudlet.cpp b/src/mudlet.cpp index c850fb23a82..82d1b9c36fb 100644 --- a/src/mudlet.cpp +++ b/src/mudlet.cpp @@ -1385,7 +1385,6 @@ void mudlet::slot_module_clicked(QTableWidgetItem* pItem) QTableWidgetItem* checkStatus = moduleTable->item(i, 2); QTableWidgetItem* itemPriority = moduleTable->item(i, 1); QTableWidgetItem* itemPath = moduleTable->item(i, 3); - qDebug() << itemPath->text(); if (!entry || !checkStatus || !itemPriority || !mpModuleTableHost->mInstalledModules.contains(entry->text())) { moduleHelpButton->setDisabled(true); if (checkStatus) {