Renamed quit to goHomeAndQuit to avoid base class overrides
This commit is contained in:
@@ -213,7 +213,7 @@ LmsApplication::goHome()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
LmsApplication::quit()
|
LmsApplication::goHomeAndQuit()
|
||||||
{
|
{
|
||||||
setConfirmCloseMessage("");
|
setConfirmCloseMessage("");
|
||||||
WApplication::quit("");
|
WApplication::quit("");
|
||||||
@@ -278,7 +278,7 @@ LmsApplication::handleAuthEvent(void)
|
|||||||
{
|
{
|
||||||
LMS_LOG(UI, INFO) << "User logged out, session = " << Wt::WApplication::instance()->sessionId();
|
LMS_LOG(UI, INFO) << "User logged out, session = " << Wt::WApplication::instance()->sessionId();
|
||||||
|
|
||||||
quit();
|
goHomeAndQuit();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ class LmsApplication : public Wt::WApplication
|
|||||||
|
|
||||||
// Utils
|
// Utils
|
||||||
void goHome();
|
void goHome();
|
||||||
void quit();
|
void goHomeAndQuit();
|
||||||
void notifyMsg(const Wt::WString& message);
|
void notifyMsg(const Wt::WString& message);
|
||||||
|
|
||||||
static Wt::WAnchor* createArtistAnchor(Database::Artist::pointer artist, bool addText = true);
|
static Wt::WAnchor* createArtistAnchor(Database::Artist::pointer artist, bool addText = true);
|
||||||
|
|||||||
Reference in New Issue
Block a user