mirror of
https://github.com/KDE/konsole.git
synced 2026-06-18 02:39:14 -04:00
Simplify the code for updating codec action
This commit is contained in:
@@ -568,7 +568,7 @@ void SessionController::prepareChangeProfileMenu()
|
||||
}
|
||||
void SessionController::updateCodecAction()
|
||||
{
|
||||
_codecAction->setCurrentCodec(QString(_session->emulation()->codec()->name()));
|
||||
_codecAction->setCurrentCodec(QString(_session->codec()));
|
||||
}
|
||||
|
||||
void SessionController::changeCodec(QTextCodec* codec)
|
||||
|
||||
Reference in New Issue
Block a user