summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorManuel Schneider2014-04-08 12:17:53 +0200
committerManuel Schneider2014-04-08 12:17:53 +0200
commit56f8876e57f5d3c3dd0a384850bb77bcff116e0a (patch)
treed4da3dda4b1451a91eb206919f7422299b755661 /src/main.cpp
parentmoved conf to slx configs (diff)
downloadbeamergui-56f8876e57f5d3c3dd0a384850bb77bcff116e0a.tar.gz
beamergui-56f8876e57f5d3c3dd0a384850bb77bcff116e0a.tar.xz
beamergui-56f8876e57f5d3c3dd0a384850bb77bcff116e0a.zip
[beamergui] Removed the need of a configfile in beamergui, because it is handled in Xsetup stage now.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 0a54d52..6a5fa7c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -8,18 +8,18 @@
int main(int argc, char *argv[])
{
- if (argc != 2) {
- std::cout << "Usage: " << argv[0] << " <config file>" << std::endl;
- } else {
- // Check if file exists
- std::ifstream f(argv[1]);
- if (!f) {
- std::cerr << "The config file does not exist." << std::endl;
- exit(1);
- }
- else
- f.close();
- }
+ //if (argc != 2) {
+ // std::cout << "Usage: " << argv[0] << " <config file>" << std::endl;
+ //} else {
+ // // Check if file exists
+ // std::ifstream f(argv[1]);
+ // if (!f) {
+ // std::cerr << "The config file does not exist." << std::endl;
+ // exit(1);
+ // }
+ // else
+ // f.close();
+ //}
QApplication a(argc, argv);
Widget w;