X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/06469e38dc7f21a2587efc181f47fa219efa8e5f..8cdc19061d56d649b298462f7e64283551d0bbf9:/main/enigma.cpp diff --git a/main/enigma.cpp b/main/enigma.cpp index 2003a452..a3770b86 100644 --- a/main/enigma.cpp +++ b/main/enigma.cpp @@ -236,8 +236,6 @@ int main(int argc, char **argv) python.execute("mytest", "__main__"); -// eApp->exec(); - return exit_code; } @@ -246,9 +244,14 @@ eWidgetDesktop *getDesktop() return wdsk; } +eApplication *getApplication() +{ + return eApp; +} + void runMainloop() { - exit_code = eApp->exec(); + exit_code = eApp->runLoop(); } void quitMainloop(int exitCode)