mirror of
https://bitbucket.org/smil3y/kde-playground.git
synced 2025-02-23 18:32:51 +00:00
kpowercontrol: adjust
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
d1aa718616
commit
cbc07219b6
2 changed files with 4 additions and 2 deletions
|
@ -22,7 +22,10 @@ target_link_libraries(kpowercontrol
|
||||||
KDE4::solid
|
KDE4::solid
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS kpowercontrol ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS kpowercontrol
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
########### next target ###############
|
########### next target ###############
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,6 @@ int main(int argc, char** argv)
|
||||||
aboutData.setProgramIconName(QLatin1String("preferences-system-power-management"));
|
aboutData.setProgramIconName(QLatin1String("preferences-system-power-management"));
|
||||||
|
|
||||||
KCmdLineArgs::init(argc, argv, &aboutData);
|
KCmdLineArgs::init(argc, argv, &aboutData);
|
||||||
KUniqueApplication::addCmdLineOptions();
|
|
||||||
|
|
||||||
KUniqueApplication kpowercontrolapp;
|
KUniqueApplication kpowercontrolapp;
|
||||||
kpowercontrolapp.setQuitOnLastWindowClosed(false);
|
kpowercontrolapp.setQuitOnLastWindowClosed(false);
|
||||||
|
|
Loading…
Add table
Reference in a new issue