Clean
This commit is contained in:
parent
37b9cac605
commit
8f66cd8647
1 changed files with 4 additions and 4 deletions
|
@ -56,12 +56,12 @@ class LoginWindow private constructor(parent: TApplication, flags: Int) :
|
|||
ProcessBuilder(
|
||||
"sshfs",
|
||||
"$usernameDetail@$serverDetail:/home/$usernameDetail",
|
||||
"/tmp/osda_mount",
|
||||
"-v"
|
||||
"/tmp/osda_mount"
|
||||
)
|
||||
.redirectOutput(ProcessBuilder.Redirect.INHERIT)
|
||||
.redirectError(ProcessBuilder.Redirect.INHERIT)
|
||||
.start().waitFor()
|
||||
.start()
|
||||
.waitFor()
|
||||
}
|
||||
init {
|
||||
setLayoutManager(
|
||||
|
@ -82,7 +82,7 @@ class LoginWindow private constructor(parent: TApplication, flags: Int) :
|
|||
addButton("Back...", CENTERED + 8, CENTERED + 8,
|
||||
object : TAction() {
|
||||
override fun DO() {
|
||||
TODO("Instead of full program exit, make it close the login window")
|
||||
getParent().close()
|
||||
}
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue