[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/sysadmin/kiosktool
From: Luboš Luňák <l.lunak () kde ! org>
Date: 2010-03-11 21:23:42
Message-ID: 1268342622.924904.7278.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1102126 by lunakl:
I think a KDE4 tool does not need to warn about KDE older than 3.2.3.
M +0 -23 userManagement.cpp
M +0 -1 userManagement.h
--- trunk/extragear/sysadmin/kiosktool/userManagement.cpp #1102125:1102126
@@ -38,9 +38,6 @@
#include "kioskrun.h"
-
-#define AVAILABLE_SINCE "KDE 3.2.3"
-
UserManagementPage::UserManagementPage(QWidget* parent)
: UserManagementUI(parent), m_widget(this)
{
@@ -57,32 +54,12 @@
connect(listGroups, SIGNAL(itemSelectionChanged()), this, SLOT(slotUpdateButtons()));
connect(listUsers, SIGNAL(itemSelectionChanged()), this, SLOT(slotUpdateButtons()));
-
- static bool firstTime = true;
-
- if (firstTime)
- {
- firstTime = false;
- QTimer::singleShot(0, this, SLOT(slotShowNotice()));
- }
}
UserManagementPage::~UserManagementPage()
{
}
-void UserManagementPage::slotShowNotice()
-{
- KMessageBox::information(this,
- i18n("<qt>The profiles that you define here are automatically applied when the "
- "user logs in to %1 or newer.<p>"
- "If you want to use these profiles in combination with older versions you need "
- "to manually set the $KDEDIRS environment variable from the <b>startkde</b> "
- "script by adding the following line:<br><br>"
- "<i>export KDEDIRS=$(kiosktool-kdedirs)</i><br><br>",QString(AVAILABLE_SINCE)),
- i18n("Attention"), "user-profiles");
-}
-
void UserManagementPage::load()
{
listGroups->clear();
--- trunk/extragear/sysadmin/kiosktool/userManagement.h #1102125:1102126
@@ -78,7 +78,6 @@
void slotDeleteUser();
void slotUpdateButtons();
- void slotShowNotice();
private:
UserManagementUI *w;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic