mirror of
https://github.com/KDE/konsole.git
synced 2026-05-03 20:26:45 -04:00
Ensure the dbus method profileList() will list all profiles
This commit is contained in:
@@ -1070,6 +1070,10 @@ int ViewManager::newSession(QString profile, QString directory)
|
||||
|
||||
QStringList ViewManager::profileList()
|
||||
{
|
||||
// ensure all profiles are usable.
|
||||
// FIXME: this explict calling smells bad.
|
||||
SessionManager::instance()->loadAllProfiles();
|
||||
|
||||
QList<Profile::Ptr> profilelist = SessionManager::instance()->loadedProfiles();
|
||||
QList<Profile::Ptr>::iterator i = profilelist.begin();
|
||||
QStringList list;
|
||||
|
||||
Reference in New Issue
Block a user