kpowercontrol: adjust

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-08-07 11:36:48 +03:00
parent d1aa718616
commit cbc07219b6
2 changed files with 4 additions and 2 deletions

View file

@ -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 ###############

View file

@ -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);