Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Adjust the tooltip strings a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Moore committed Aug 27, 2013
1 parent 6dd9592 commit 50676f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src-qt4/life-preserver/LPTray.cpp
Expand Up @@ -143,7 +143,7 @@ void LPTray::setIdleToolTip(){
//Get the last snapshot created
QStringList dsList = LPBackend::listDatasets();
if(dsList.isEmpty()){
this->setToolTip(tr("Automatic Backups Disabled"));
this->setToolTip(tr("Automatic Snapshots Disabled"));
}else{
//Grab the newest snapshot from each dataset
QString tt; //tooltip
Expand All @@ -153,7 +153,7 @@ void LPTray::setIdleToolTip(){
if(snaps.isEmpty()){
tt.append( QString(tr("%1: No snapshots available")).arg(dsList[0]) );
}else{
tt.append( QString(tr("%1: %2 available")).arg(dsList[0],snaps[0]) );
tt.append( QString(tr("%1: Latest snapshot: %2")).arg(dsList[0],snaps[0]) );
}
}
this->setToolTip(tt);
Expand Down Expand Up @@ -200,7 +200,6 @@ void LPTray::slotNewLogMessage(QString file){
//qDebug() << "New Log Message in file:" << file;
if(file == "/var/log/lpreserver/lpreserver.log"){
//Backend Status Update
//get the last line from the log file
//Now parse the log lines and do stuff with it
while( !LFStream->atEnd() ){ parseLogMessage(LFStream->readLine(), initPhase); }
}else{
Expand Down

0 comments on commit 50676f3

Please sign in to comment.