Users Dialog OK
This commit is contained in:
@@ -33,6 +33,8 @@
|
||||
*/
|
||||
#include "wxUI.hpp"
|
||||
|
||||
#include "UsersDialog.hpp"
|
||||
|
||||
enum {BUTTON_CHANGE_USER_ID=-4, BUTTON_ABOUT_ID=-5, BUTTON_QUIT_ID=-6};
|
||||
|
||||
QString wxUI::months[12] ;
|
||||
@@ -82,7 +84,7 @@ wxUI::wxUI(KissCount* kiss, const QString& title)
|
||||
|
||||
wxUI::~wxUI()
|
||||
{
|
||||
int i;
|
||||
//int i;
|
||||
|
||||
// for (i=0; i<(int)_panels.size(); i++)
|
||||
// Disconnect(i, wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(wxUI::OnButtonClicked), _panels[i], this);
|
||||
@@ -250,7 +252,8 @@ void wxUI::OnButtonChangeUser(QEvent& event)
|
||||
|
||||
void wxUI::ChangeUser()
|
||||
{
|
||||
// UsersDialog u(_kiss, this);
|
||||
UsersDialog u(_kiss, this);
|
||||
u.exec();
|
||||
}
|
||||
|
||||
void wxUI::OnButtonAbout(QEvent& event)
|
||||
|
||||
Reference in New Issue
Block a user