mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-23 10:22:52 +00:00
kdeplasma-addons: const-ify variable in KonsoleProfilesWidget::slotProfileClicked()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
45c5a2d8f8
commit
c22daafe11
1 changed files with 2 additions and 2 deletions
|
@ -161,8 +161,8 @@ void KonsoleProfilesWidget::slotProfileClicked()
|
|||
Plasma::ToolButton* profilebutton = qobject_cast<Plasma::ToolButton*>(sender());
|
||||
const QString profilename = profilebutton->property("_k_profile").toString();
|
||||
Q_ASSERT(!profilename.isEmpty());
|
||||
QStringList konsoleargs;
|
||||
konsoleargs << "--profile" << profilename;
|
||||
const QStringList konsoleargs = QStringList()
|
||||
<< "--profile" << profilename;
|
||||
QString invocationerror;
|
||||
const int invocationresult = KToolInvocation::kdeinitExec("konsole", konsoleargs, &invocationerror);
|
||||
if (invocationresult != 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue