diff options
-rw-r--r-- | src/main.cpp | 8 | ||||
-rw-r--r-- | src/toplevel.cpp | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/main.cpp b/src/main.cpp index 0008198..d2f12fa 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -38,15 +38,15 @@ int main(int argc, char *argv[]) "(c) 2012, Timothy Pearson"); aboutData.addAuthor("Timothy Pearson",0, "[email protected]"); KCmdLineArgs::init( argc, argv, &aboutData ); - + KApplication app; - + TopLevel toplevel; KWin::setSystemTrayWindowFor(toplevel.winId(), 0); toplevel.show(); - + app.setTopWidget(&toplevel); KStartupInfo::appStarted(); - + return app.exec(); } diff --git a/src/toplevel.cpp b/src/toplevel.cpp index 0193549..926784b 100644 --- a/src/toplevel.cpp +++ b/src/toplevel.cpp @@ -196,7 +196,7 @@ void TopLevel::updateMenu() { for (it = m_ticketList.begin(); it != m_ticketList.end(); ++it) { KerberosTicketInfo ticket = *it; TQDateTime now = TQDateTime::currentDateTime(); - + TQString label = ticket.serverPrincipal; if (ticket.validEndTime > now) { label = label + i18n("(Active)"); @@ -355,7 +355,7 @@ void TopLevel::paintEvent(TQPaintEvent *) { } void TopLevel::timerEvent(TQTimerEvent *) { - // + // } /** update ToolTip */ @@ -419,7 +419,7 @@ void TopLevel::menuAction(int index) { listText += addTicketInfo("", ticket); listText += "</qt>"; - + if (KMessageBox::warningYesNo(this, listText, i18n("Kerberos Ticket Information"), TQString("Destroy this Ticket"), TQString("Cancel")) == KMessageBox::Yes) { TQString errorstring; if (LDAPManager::destroyKerberosTicket(ticket.serverPrincipal, &errorstring) != 0) { |