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(
|
ProcessBuilder(
|
||||||
"sshfs",
|
"sshfs",
|
||||||
"$usernameDetail@$serverDetail:/home/$usernameDetail",
|
"$usernameDetail@$serverDetail:/home/$usernameDetail",
|
||||||
"/tmp/osda_mount",
|
"/tmp/osda_mount"
|
||||||
"-v"
|
|
||||||
)
|
)
|
||||||
.redirectOutput(ProcessBuilder.Redirect.INHERIT)
|
.redirectOutput(ProcessBuilder.Redirect.INHERIT)
|
||||||
.redirectError(ProcessBuilder.Redirect.INHERIT)
|
.redirectError(ProcessBuilder.Redirect.INHERIT)
|
||||||
.start().waitFor()
|
.start()
|
||||||
|
.waitFor()
|
||||||
}
|
}
|
||||||
init {
|
init {
|
||||||
setLayoutManager(
|
setLayoutManager(
|
||||||
|
@ -82,7 +82,7 @@ class LoginWindow private constructor(parent: TApplication, flags: Int) :
|
||||||
addButton("Back...", CENTERED + 8, CENTERED + 8,
|
addButton("Back...", CENTERED + 8, CENTERED + 8,
|
||||||
object : TAction() {
|
object : TAction() {
|
||||||
override fun DO() {
|
override fun DO() {
|
||||||
TODO("Instead of full program exit, make it close the login window")
|
getParent().close()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue