mirror of
https://github.com/KDE/krfb
synced 2026-07-01 07:31:16 -07:00
Fix: Make quit working when krfb has been started from menu
Fix icons. Patch by crazy. svn path=/trunk/KDE/kdenetwork/krfb/; revision=757206
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# KDE Config File
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Exec=krfb -caption "%c"
|
||||
Exec=krfb -caption "%c" %i
|
||||
Icon=krfb
|
||||
X-DocPath=krfb/index.html
|
||||
Terminal=false
|
||||
|
||||
3
main.cpp
3
main.cpp
@@ -32,6 +32,7 @@
|
||||
#include <kapplication.h>
|
||||
#include <kmessagebox.h>
|
||||
#include <qwindowdefs.h>
|
||||
#include <KIcon>
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
@@ -75,7 +76,7 @@ int main(int argc, char *argv[])
|
||||
KCmdLineArgs::init(argc, argv, &aboutData);
|
||||
|
||||
KApplication app;
|
||||
|
||||
QApplication::setWindowIcon(KIcon("krfb"));
|
||||
TrayIcon trayicon(new ManageInvitationsDialog);
|
||||
|
||||
KrfbServer *server = KrfbServer::self(); // initialize the server manager
|
||||
|
||||
Reference in New Issue
Block a user