mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
generic: adjust to KUniqueApplication changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
e3e4414908
commit
eb9ad3d007
3 changed files with 0 additions and 4 deletions
|
@ -50,8 +50,6 @@ int main(int argc, char **argv)
|
||||||
KCmdLineOptions options;
|
KCmdLineOptions options;
|
||||||
options.add("+[user]", ki18n("Change password of this user"));
|
options.add("+[user]", ki18n("Change password of this user"));
|
||||||
KCmdLineArgs::addCmdLineOptions(options);
|
KCmdLineArgs::addCmdLineOptions(options);
|
||||||
KUniqueApplication::addCmdLineOptions();
|
|
||||||
|
|
||||||
|
|
||||||
if (!KUniqueApplication::start()) {
|
if (!KUniqueApplication::start()) {
|
||||||
kDebug() << "kdepasswd is already running";
|
kDebug() << "kdepasswd is already running";
|
||||||
|
|
|
@ -33,7 +33,6 @@ int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
Klipper::createAboutData();
|
Klipper::createAboutData();
|
||||||
KCmdLineArgs::init( argc, argv, Klipper::aboutData());
|
KCmdLineArgs::init( argc, argv, Klipper::aboutData());
|
||||||
KUniqueApplication::addCmdLineOptions();
|
|
||||||
|
|
||||||
if (!KUniqueApplication::start()) {
|
if (!KUniqueApplication::start()) {
|
||||||
fprintf(stderr, "Klipper is already running! Check it in the system tray in the panel.\n");
|
fprintf(stderr, "Klipper is already running! Check it in the system tray in the panel.\n");
|
||||||
|
|
|
@ -65,7 +65,6 @@ int main( int argc, char **argv )
|
||||||
aboutData.addAuthor(ki18n("Montel Laurent"), KLocalizedString(), "montel@kde.org");
|
aboutData.addAuthor(ki18n("Montel Laurent"), KLocalizedString(), "montel@kde.org");
|
||||||
|
|
||||||
KCmdLineArgs::init( argc, argv, &aboutData );
|
KCmdLineArgs::init( argc, argv, &aboutData );
|
||||||
KUniqueApplication::addCmdLineOptions();
|
|
||||||
|
|
||||||
KCmdLineOptions options;
|
KCmdLineOptions options;
|
||||||
options.add("+[menu]", ki18n("Sub menu to pre-select"));
|
options.add("+[menu]", ki18n("Sub menu to pre-select"));
|
||||||
|
|
Loading…
Add table
Reference in a new issue