~ubuntu-branches/ubuntu/natty/muon/natty

« back to all changes in this revision

Viewing changes to libmuon/MuonMainWindow.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2011-02-17 13:14:28 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110217131428-23qtgy4967llczwh
Tags: 1.1.1-0ubuntu1
* New upstream bugfix release
* Update the Homepage field in debian/control to the new projects.kde.org
  home page.
* Update the upstream name field in debian/copyright to "Muon Package
  Management Suite" to reflect branding changes.
* Update the Source field in debian/copyright to the new KDE Git repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
 
78
78
void MuonMainWindow::slotQuit()
79
79
{
80
 
    if (queryExit()) {
81
 
        KApplication::instance()->quit();
82
 
    }
 
80
    KApplication::instance()->quit();
83
81
}
84
82
 
85
83
bool MuonMainWindow::queryExit()
169
167
 
170
168
bool MuonMainWindow::isConnected() {
171
169
    int status = Solid::Networking::status();
172
 
    return status == (Solid::Networking::Connected | Solid::Networking::Unknown);
 
170
    return status & (Solid::Networking::Connected | Solid::Networking::Unknown);
173
171
}
174
172
 
175
173
void MuonMainWindow::checkForUpdates()