mirror of
https://github.com/KDE/konsole.git
synced 2026-06-17 18:29:02 -04:00
Add more convenient methods for accessing profile option
This commit is contained in:
@@ -1091,7 +1091,7 @@ void SessionController::clearHistory()
|
||||
void SessionController::clearHistoryAndReset()
|
||||
{
|
||||
Profile::Ptr profile = SessionManager::instance()->sessionProfile(_session);
|
||||
QByteArray name = profile->property<QString>(Profile::DefaultEncoding).toUtf8();
|
||||
QByteArray name = profile->defaultEncoding().toUtf8();
|
||||
|
||||
Emulation* emulation = _session->emulation();
|
||||
emulation->reset();
|
||||
|
||||
Reference in New Issue
Block a user