Forgot to connect calendar change signal
This commit is contained in:
parent
c78b88b387
commit
fe2e6c4bf4
4
Makefile
4
Makefile
|
@ -35,7 +35,9 @@ LDFLAGS+=libkdchart.a
|
|||
|
||||
all: mojito libkdchart.a kc
|
||||
|
||||
clean: clean_libkdchart
|
||||
clean_all: clean clean_libkdchart
|
||||
|
||||
clean:
|
||||
find src -type f -name '*.o' -delete
|
||||
find src -type f -name '*~' -delete
|
||||
find src -type f -name '*.moc' -delete
|
||||
|
|
|
@ -63,6 +63,7 @@ AccountPanel::AccountPanel(KissCount* kiss, wxUI *parent) : KissPanel(kiss, pare
|
|||
_calendar->setNavigationBarVisible(false);
|
||||
_calendar->setVerticalHeaderFormat(QCalendarWidget::NoVerticalHeader);
|
||||
_calendar->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
|
||||
connect(_calendar, SIGNAL(selectionChanged ()), this, SLOT(OnCalendarChange()));
|
||||
|
||||
_accounts = new QString[user->GetAccountsNumber()];
|
||||
for (i=0,
|
||||
|
@ -336,7 +337,6 @@ void AccountPanel::LoadYear(int year, bool showMonth)
|
|||
{
|
||||
User* user = _kiss->GetUser();
|
||||
int curMonth = -1;
|
||||
QDate curDate = QDate::currentDate();
|
||||
QTreeWidgetItem* parentNode, *curMonthNode = 0;
|
||||
std::map<int, std::vector<int> > ops ;
|
||||
std::vector<int>::iterator it;
|
||||
|
|
Loading…
Reference in New Issue
Block a user