Commit 5a02902e authored by Xuetian Weng's avatar Xuetian Weng
Browse files

Use KUniqueApplication for log viewer.

REVIEW: 104683
parent e54eb30d
......@@ -17,12 +17,25 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
#include <QtGui/QApplication>
#include <KUniqueApplication>
#include <KCmdLineArgs>
#include <KAboutData>
#include "log-viewer.h"
int main(int argc, char *argv[])
QApplication a(argc, argv);
KAboutData aboutData("ktp-log-viewer",
ki18n("KDE IM Log Viewer"),
aboutData.addAuthor(ki18n("David Edmundson"), ki18n("Developer"), "");
aboutData.addAuthor(ki18n("Daniele E. Domenichelli"), ki18n("Developer"), "");
aboutData.setProductName("telepathy/logger"); //set the correct name for bug reporting
KCmdLineArgs::init(argc, argv, &aboutData);
KUniqueApplication a;
LogViewer w;;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment