[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeplasma-addons/applets/rememberthemilk
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2011-01-27 23:22:37
Message-ID: 20110127232237.AA3E4AC8BB () svn ! kde ! org
[Download RAW message or body]
SVN commit 1217584 by aseigo:
bounds check pos
BUG:202918
M +3 -0 rememberthemilk-plasmoid.cpp
--- trunk/KDE/kdeplasma-addons/applets/rememberthemilk/rememberthemilk-plasmoid.cpp #1217583:1217584
@@ -218,6 +218,9 @@
void RememberTheMilkPlasmoid::listChanged(int pos)
{
+ if (pos < 0 || pos >= m_lists.size())
+ return;
+
config().writeEntry("CurrentList", pos);
m_model->switchToList(m_lists.at(pos));
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic