Converted project to CPP and use Qt instead of Gtk.
This commit is contained in:
parent
22c991cd26
commit
966314dae7
10 changed files with 253 additions and 641 deletions
17
main.cpp
Normal file
17
main.cpp
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#include <QApplication>
|
||||
#include <iostream>
|
||||
#include "spacetray.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication app(argc, argv);
|
||||
|
||||
if (argc != 2) {
|
||||
std::cerr << "Usage: " << argv[0] << " <statusurl>" << std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
SpaceTray tray(argv[1]);
|
||||
|
||||
return app.exec();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue