[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/sysadmin/muon/src
From:       Jonathan Michael Thomas <echidnaman () kubuntu ! org>
Date:       2010-07-01 12:32:04
Message-ID: 20100701123204.293FFAC8E2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1144964 by jmthomas:

Context on a string that could be quite mysterious otherwise


 M  +4 -3      MainWindow.cpp  


--- trunk/playground/sysadmin/muon/src/MainWindow.cpp #1144963:1144964
@@ -36,8 +36,6 @@
 #include <KMessageBox>
 #include <KStandardAction>
 #include <KStatusBar>
-#include <KToolBar>
-#include <KDebug>
 #include <Solid/PowerManagement>
 
 // LibQApt includes
@@ -359,7 +357,7 @@
             QString drive = args["Drive"].toString();
 
             QString title = i18nc("@title:window", "Media Change Required");
-            QString text = i18nc("@label", "Please insert %1 into \
<filename>%2</filename>", media, drive); +            QString text = i18nc("@label \
Asks for a CD change", "Please insert %1 into <filename>%2</filename>", media, \
drive);  
             KMessageBox::information(this, text, title);
             response["MediaChanged"] = true;
@@ -397,6 +395,9 @@
             response["InstallUntrusted"] = installUntrusted;
             m_backend->answerWorkerQuestion(response);
         }
+        case QApt::InvalidQuestion:
+        default:
+            break;
     }
 }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic