Removed unused variables

This commit is contained in:
Luca Carlon
2025-05-11 01:59:23 +02:00
committed by Christoph Cullmann
parent 48dba940f8
commit 4bdcf59579
4 changed files with 0 additions and 5 deletions

View File

@@ -29,7 +29,6 @@ FontDialog::FontDialog(QWidget *parent, bool emoji, const QFont font)
_fontChooser = new KFontChooser(onlyFixed, this);
if (_emoji) {
QStringList list = KFontChooser::createFontList(0).filter(QStringLiteral("emoji"), Qt::CaseInsensitive);
_fontChooser->setFont(font);
_fontChooser->setFontListItems(KFontChooser::createFontList(0).filter(QStringLiteral("emoji"), Qt::CaseInsensitive));
_fontChooser->setFont(font);

View File

@@ -63,7 +63,6 @@ void ScreenTest::testBlockSelection()
// ...
// I'm selecting the first two lines of the first column of strings,
// so, abcd ijkl.
const QString selectedText = screen.selectedText(Screen::PlainText);
QCOMPARE(screen.selectedText(Screen::PlainText), QStringLiteral("abcd ijkl"));
}

View File

@@ -93,8 +93,6 @@ void TerminalInterfaceTest::testTerminalInterfaceNoShell()
// Test with default shell running
void TerminalInterfaceTest::testTerminalInterface()
{
QString currentDirectory;
// create a Konsole part and attempt to connect to it
_terminalPart = createPart();
if (_terminalPart == nullptr) {

View File

@@ -782,7 +782,6 @@ static inline bool drawLegacyCharacter(QPainter &paint, int x, int y, int w, int
};
// Default rect fills entire cell
QRectF rect(x, y, w, h);
if (code <= 0x13f) {
const QRectF upperLeft(x, y, w / 2.0, h / 3.0);
const QRectF upperRight(center.x(), y, w / 2.0, h / 3.0);