summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-12 23:12:34 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-12 23:12:34 -0500
commita3ec3102db6ed36c71c5bdf070e6e57f141350f5 (patch)
treeae5fc496e4a0eac83535bc8d0894653f1e5168e9 /src
parent7e68dd0cf1b1ea9c59fac22e41de4bacc15ff055 (diff)
downloadkerberostray-a3ec3102db6ed36c71c5bdf070e6e57f141350f5.tar.gz
kerberostray-a3ec3102db6ed36c71c5bdf070e6e57f141350f5.zip
Cleanup whitespace
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp8
-rw-r--r--src/toplevel.cpp6
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, "kb9vqf@pearsoncomputing.net");
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) {