mirror of
https://github.com/KDE/konsole.git
synced 2025-12-23 23:38:08 -05:00
Removed unused variables
This commit is contained in:
committed by
Christoph Cullmann
parent
48dba940f8
commit
4bdcf59579
@@ -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);
|
||||
|
||||
@@ -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"));
|
||||
}
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user